.sucursal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.45);
    padding: 1.25rem;
}

.sucursal-overlay--hidden {
    display: none !important;
}

.sucursal-modal-card {
    width: 100%;
    max-width: 520px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.22);
    padding: 1.75rem 1.85rem 1.5rem;
}

.sucursal-modal-logo {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 1.35rem;
}

.sucursal-modal-logo img {
    max-height: 42px;
    width: auto;
}

.sucursal-modal-logo__save {
    font-size: 1.65rem;
    font-weight: 800;
    color: #7b1fa2;
    line-height: 1;
    letter-spacing: -0.02em;
}

.sucursal-modal-logo__fact {
    font-size: 1.65rem;
    font-weight: 300;
    color: #6b7280;
    line-height: 1;
}

.sucursal-modal-label {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.65rem;
}

.sucursal-modal-select {
    width: 100%;
    appearance: none;
    background: #ecf0f8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7280' d='M1.4.6 6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E") no-repeat right 1rem center;
    border: 1px solid #ecf0f8;
    border-radius: 10px;
    color: #3f4254;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.95rem 2.5rem 0.95rem 1rem;
    margin-bottom: 1.75rem;
}

.sucursal-modal-select:focus {
    outline: none;
    border-color: #c4b5fd;
    box-shadow: 0 0 0 3px rgba(123, 31, 162, 0.12);
}

.sucursal-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

.sucursal-btn {
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    min-width: 110px;
    padding: 0.72rem 1.15rem;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.sucursal-btn:hover {
    opacity: 0.92;
}

.sucursal-btn:active {
    transform: translateY(1px);
}

.sucursal-btn--muted {
    background: #e5e7eb;
    color: #374151;
}

.sucursal-btn--primary {
    background: #ff6709;
    color: #fff;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.sucursal-empresa-hint {
    color: #6b7280;
    font-size: 0.9rem;
    margin: -0.35rem 0 1rem;
}
