/* =========================================================
   Estilos para Branch Selector Header
   ========================================================= */

#global-branch-selector {
    /* Custom styling for select dropdown */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/csvg%3e");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 1.25em;
    padding-right: 2rem;
    color: #1f2937 !important;
    font-weight: 600;
}

.dark #global-branch-selector {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f3f4f6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/csvg%3e");
    color: #f3f4f6 !important;
}

#global-branch-selector option {
    color: #1f2937;
    background-color: #ffffff;
}

.dark #global-branch-selector option {
    color: #f3f4f6;
    background-color: #374151;
}

#global-branch-selector:hover {
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

#global-branch-selector:focus {
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

#branch-selector-container {
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #branch-selector-container {
        margin-left: 0.5rem;
        padding-left: 0.5rem;
    }

    #global-branch-selector {
        min-width: 100px;
        font-size: 0.75rem;
    }
}
