/* D'Orygin Panel - Estilos (skin de marca: negro + degradado magenta/púrpura) */

:root {
    /* Marca D'Orygin */
    --void: #07060d;
    --deep-purple: #170a2b;
    --glow-purple: #3d1160;
    --pink: #ec2695;
    --purple: #7b2ff7;
    --brand-gradient: linear-gradient(90deg, var(--pink), var(--purple));
    --brand-gradient-soft: linear-gradient(135deg, rgba(236,38,149,0.16), rgba(123,47,247,0.16));

    /* Superficies */
    --surface: #120a1f;
    --surface-raised: #1a1129;
    --border: rgba(236,38,149,0.18);
    --border-soft: rgba(255,255,255,0.08);

    /* Texto */
    --text-primary: #f5f3fa;
    --text-muted: #a79bc4;
    --text-faint: #6f6485;

    /* Estados */
    --success: #2ecc9a;
    --warning: #f0a92f;
    --info: #7b2ff7;
    --danger: #ec2695;

    --shadow: 0 10px 40px rgba(0,0,0,0.45);
    --shadow-glow: 0 0 0 1px var(--border), 0 10px 30px rgba(123,47,247,0.15);
    --radius: 16px;
    --radius-pill: 999px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background:
        radial-gradient(circle at 85% 15%, rgba(236,38,149,0.10) 0%, transparent 45%),
        radial-gradient(circle at 10% 90%, rgba(123,47,247,0.14) 0%, transparent 50%),
        var(--void);
    background-attachment: fixed;
    color: var(--text-primary);
    display: flex;
    min-height: 100vh;
}

/* Sidebar & Logo Fix */
.sidebar {
    width: 260px;
    background: linear-gradient(180deg, var(--deep-purple) 0%, var(--void) 100%);
    border-right: 1px solid var(--border-soft);
    color: white;
    min-height: 100vh;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 100;
}

.logo { margin-bottom: 32px; padding: 0 8px; }
.logo h2 {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}
.logo span {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.sidebar nav { flex: 1; }
.sidebar nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    text-decoration: none;
    padding: 12px 16px;
    margin: 4px 0;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}
.sidebar nav a:hover {
    background: rgba(255,255,255,0.05);
    color: var(--text-primary);
}
.sidebar nav a.active {
    background: var(--brand-gradient);
    color: white;
    box-shadow: 0 4px 16px rgba(236,38,149,0.35);
}
.sidebar nav a svg { opacity: 0.85; flex-shrink: 0; }

.sidebar-footer { padding: 16px 8px; border-top: 1px solid var(--border-soft); }
.sidebar-footer p { font-size: 11px; color: var(--text-faint); }

/* Main content */
.main {
    flex: 1;
    margin-left: 260px;
    padding: 32px;
    max-width: calc(100% - 260px);
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}
header h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

#fecha-actual {
    color: var(--text-muted);
    font-size: 14px;
    text-transform: capitalize;
}

.btn-refresh {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: var(--surface-raised) !important;
    border: 1px solid var(--border-soft) !important;
    color: var(--text-primary) !important;
    padding: 9px 18px !important;
    border-radius: var(--radius-pill) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;
}
.btn-refresh:hover {
    border-color: var(--pink) !important;
    color: white !important;
    background: rgba(236,38,149,0.15) !important;
    box-shadow: 0 0 12px rgba(236,38,149,0.3) !important;
}

.btn-export {
    background: rgba(123, 47, 247, 0.2) !important;
    border: 1px solid rgba(123, 47, 247, 0.4) !important;
    color: #c49eff !important;
}
.btn-export:hover {
    background: var(--brand-gradient) !important;
    color: white !important;
    border-color: transparent !important;
    box-shadow: 0 4px 14px rgba(123, 47, 247, 0.4) !important;
}

/* Cards */
.cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.card {
    background: var(--surface);
    padding: 24px;
    border-radius: var(--radius);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow);
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.card:hover {
    transform: translateY(-2px);
    border-color: var(--border);
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.card-leads .card-icon { background: rgba(236,38,149,0.14); color: var(--pink); }
.card-citas .card-icon { background: rgba(123,47,247,0.16); color: var(--purple); }
.card-conversion .card-icon { background: rgba(46,204,154,0.14); color: var(--success); }
.card-activos .card-icon { background: rgba(240,169,47,0.14); color: var(--warning); }

.card-info h3 {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 8px;
    font-weight: 600;
}
.card-info p {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 6px;
}
.trend {
    font-size: 12px;
    color: var(--text-faint);
}

/* Sections */
.section {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
    margin-bottom: 24px;
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.section-header h2 { font-size: 18px; font-weight: 600; color: var(--text-primary); }

.btn-link {
    color: var(--pink) !important;
    text-decoration: none !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}
.btn-link:hover { text-decoration: underline !important; color: #b98cfb !important; }

/* Tables */
.table-container { overflow-x: auto; }

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-soft);
    font-size: 13px;
    color: var(--text-primary);
}

th {
    background: rgba(255,255,255,0.02);
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.6px;
}

tr:hover { background: rgba(236,38,149,0.04); }

.loading, .empty, .error {
    text-align: center;
    padding: 40px !important;
    color: var(--text-muted);
}
.error { color: var(--danger); }

/* Estado badges */
.estado-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.estado-lead { background: rgba(240,169,47,0.14); color: var(--warning); }
.estado-cita { background: rgba(123,47,247,0.16); color: #b98cfb; }
.estado-cliente { background: rgba(46,204,154,0.14); color: var(--success); }
.estado-archivado { background: rgba(167,155,196,0.14); color: var(--text-faint); }

/* Estados grid */
.estados-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}
.estado-item {
    text-align: center;
    padding: 20px;
    border-radius: 12px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-soft);
}
.estado-item .numero {
    font-size: 28px;
    font-weight: 700;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.estado-item .label {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Filtros */
.filtros {
    display: flex;
    gap: 12px;
}
.filtros select,
.filtros input {
    padding: 10px 14px;
    border: 1px solid var(--border-soft);
    border-radius: 10px;
    font-size: 13px;
    background: var(--surface);
    color: var(--text-primary);
    min-width: 200px;
}
.filtros select:focus,
.filtros input:focus {
    outline: none;
    border-color: var(--pink);
    box-shadow: 0 0 0 3px rgba(236,38,149,0.15);
}
.filtros input::placeholder { color: var(--text-faint); }

/* Selector de cliente (solo admin) */
.client-filter-slot { display: flex; align-items: center; }
.client-filter { display: inline-flex; align-items: center; gap: 8px; }
.client-filter span {
    font-size: 11px; color: var(--text-muted); text-transform: uppercase;
    letter-spacing: 0.6px; font-weight: 600;
}
.client-filter select {
    padding: 9px 14px; border: 1px solid var(--border); border-radius: var(--radius-pill);
    font-size: 13px; font-weight: 600; background: var(--surface-raised);
    color: var(--text-primary); cursor: pointer; min-width: 170px;
}
.client-filter select:focus {
    outline: none; border-color: var(--pink); box-shadow: 0 0 0 3px rgba(236,38,149,0.15);
}
.client-filter select option { background: #1a1129; color: #f5f3fa; }

/* Phone link */
.phone-link {
    color: #b98cfb !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}
.phone-link:hover { text-decoration: underline !important; color: var(--pink) !important; }

/* Buttons */
.btn-small {
    padding: 6px 16px !important;
    background: var(--surface-raised) !important;
    border: 1px solid var(--border) !important;
    color: var(--text-primary) !important;
    border-radius: var(--radius-pill) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}
.btn-small:hover {
    background: var(--brand-gradient) !important;
    border-color: transparent !important;
    color: white !important;
    box-shadow: 0 4px 12px rgba(236,38,149,0.35) !important;
}

/* Pagination */
.pagination {
    margin-top: 16px;
    text-align: right;
    font-size: 13px;
    color: var(--text-muted);
}

/* Info box - Tipografía forzada a blanco para legibilidad */
.info-box {
    background: var(--brand-gradient-soft);
    border-left: 4px solid var(--purple);
    padding: 16px 20px;
    border-radius: 0 10px 10px 0;
}
.info-box p {
    font-size: 13.5px !important;
    color: #ffffff !important;
    font-weight: 500 !important;
    margin: 0;
    line-height: 1.5;
}

/* Formulario Google Calendar */
.gcal-config p {
    color: #ffffff !important;
    font-weight: 500 !important;
}

/* Responsive */
@media (max-width: 1200px) {
    .cards { grid-template-columns: repeat(2, 1fr); }
    .estados-grid { grid-template-columns: repeat(3, 1fr); }
    .reports-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    /* El sidebar deja de ser fijo y pasa a barra superior */
    body { flex-direction: column; }
    .sidebar {
        position: static;
        width: 100%;
        min-height: auto;
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
        gap: 8px;
        padding: 12px 16px;
        border-right: none;
        border-bottom: 1px solid var(--border-soft);
    }
    .logo { margin-bottom: 0; padding: 0; flex: 1 1 auto; }
    .logo h2 { font-size: 20px; }
    .logo span { display: none; }
    .sidebar nav {
        flex: 1 1 100%;
        display: flex;
        gap: 6px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .sidebar nav a { margin: 0; padding: 8px 12px; font-size: 13px; white-space: nowrap; }
    .sidebar-footer { border-top: none; padding: 0; flex: 0 0 auto; }
    .sidebar-footer p { display: none; }

    .main { margin-left: 0; max-width: 100%; padding: 16px; overflow-x: hidden; }
    .reports-grid, .cards { min-width: 0; }
    header { flex-direction: column; gap: 12px; align-items: stretch; }
    .header-actions { flex-wrap: wrap; gap: 8px; }
    .filtros { flex-direction: column; width: 100%; }
    .filtros select, .filtros input { min-width: 0; width: 100%; }
    .client-filter { width: 100%; }
    .client-filter select { flex: 1; min-width: 0; }

    .cards { grid-template-columns: 1fr; }
    .estados-grid { grid-template-columns: repeat(2, 1fr); }
    .reports-grid { grid-template-columns: 1fr; }
    th, td { padding: 10px 12px; font-size: 12px; }
    .calendar-day { min-height: 70px; }
    .calendar-grid { gap: 4px; }
    .tabs-navigation { flex-wrap: wrap; }
    .modal-container { width: 94%; }
}

@media (max-width: 480px) {
    .estados-grid { grid-template-columns: 1fr; }
    .card-info p { font-size: 26px; }
    header h1 { font-size: 22px; }
    .btn-refresh { width: 100%; justify-content: center !important; }
}

/* Accesibilidad: foco visible */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
    outline: 2px solid var(--pink);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; }
}

/* ==========================================================================
   ESTILOS COMPONENTES: Modales, Chat, Calendario, Dashboard, Toasts
   ========================================================================== */

/* Modal Overlay & Contenedor */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(7, 6, 13, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: none !important;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}
.modal-overlay.active {
    display: flex !important;
    opacity: 1;
    pointer-events: all;
}
.modal-container {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    width: 90%;
    max-width: 650px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-glow);
    transform: scale(0.92);
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.modal-overlay.active .modal-container {
    transform: scale(1);
}
.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-soft);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.modal-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}
.modal-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, transform 0.2s ease;
}
.modal-close:hover {
    color: var(--pink);
    transform: scale(1.1);
}
.modal-body {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
}

/* Chat Burbujas de Historial */
.chat-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 8px 4px;
}
.chat-bubble {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 13.5px;
    line-height: 1.5;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.chat-bubble.bot {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-soft);
    color: var(--text-primary);
    border-bottom-left-radius: 4px;
}
.chat-bubble.client {
    align-self: flex-end;
    background: var(--brand-gradient-soft);
    border: 1px solid rgba(236, 38, 149, 0.3);
    color: var(--text-primary);
    border-bottom-right-radius: 4px;
}
.chat-sender {
    font-size: 11px;
    font-weight: 700;
    color: var(--pink);
    margin-bottom: 4px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.chat-bubble.client .chat-sender {
    color: #b98cfb;
}
.chat-content {
    word-break: break-word;
    white-space: pre-wrap;
}
.chat-meta {
    font-size: 9.5px;
    color: var(--text-faint);
    margin-top: 6px;
    text-align: right;
    display: block;
}

/* Pestañas (Tabs) */
.tabs-navigation {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-soft);
    padding-bottom: 12px;
}
.tab-btn {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    color: var(--text-muted);
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}
.tab-btn:hover {
    color: var(--text-primary);
    border-color: var(--pink);
}
.tab-btn.active {
    background: var(--brand-gradient);
    color: white;
    box-shadow: 0 4px 12px rgba(236,38,149,0.35);
    border-color: transparent;
}
.tab-content {
    display: none !important;
}
.tab-content.active {
    display: block !important;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Calendario Nativo */
.calendar-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    background: rgba(255,255,255,0.02);
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid var(--border-soft);
}
.calendar-controls h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}
.calendar-nav-btn {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    color: var(--text-primary);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}
.calendar-nav-btn:hover {
    border-color: var(--pink);
    color: var(--pink);
}
.calendar-grid {
    display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important;
    gap: 8px;
}
.calendar-weekday {
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    padding: 8px 0;
    letter-spacing: 0.5px;
}
.calendar-day {
    min-height: 100px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: all 0.2s ease;
}
.calendar-day:hover {
    border-color: var(--border);
    background: rgba(236,38,149,0.02);
}
.calendar-day.prev-month,
.calendar-day.next-month {
    opacity: 0.3;
}
.calendar-day.today {
    border-color: var(--pink);
    background: rgba(236,38,149,0.06);
    box-shadow: inset 0 0 8px rgba(236,38,149,0.1);
}
.calendar-day .day-num {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 6px;
}
.calendar-day.today .day-num {
    color: var(--pink);
}
.calendar-events {
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow-y: auto;
    max-height: 70px;
}
.calendar-event-badge {
    background: var(--brand-gradient);
    font-size: 10px;
    padding: 4px 6px;
    border-radius: 4px;
    color: white;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    flex-direction: column;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.calendar-event-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(236,38,149,0.4);
}
.calendar-event-badge .event-time {
    font-weight: 700;
    font-size: 8.5px;
    opacity: 0.9;
}
.calendar-event-badge .event-name {
    font-weight: 500;
}

/* Formulario Google Calendar */
.gcal-config {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 500px;
}
.gcal-config-inputs {
    display: flex;
    gap: 12px;
}
.gcal-config-inputs input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--border-soft);
    border-radius: 10px;
    font-size: 13px;
    background: var(--surface);
    color: #ffffff !important;
}
.gcal-config-inputs input:focus {
    outline: none;
    border-color: var(--pink);
}
.gcal-iframe-container {
    margin-top: 16px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-soft);
    background: var(--surface);
    aspect-ratio: 16 / 9;
    max-height: 500px;
}
.gcal-iframe-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Dashboard Reportes y Layout de Gráficos (Soporta 3 gráficos) */
.reports-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 24px;
}
.chart-container-wrapper {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    min-height: 320px;
    min-width: 0;
}
.chart-container-wrapper h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 16px;
    align-self: flex-start;
    color: var(--text-primary);
}
.chart-canvas-holder {
    width: 100%;
    max-width: 100%;
    height: 240px;
    position: relative;
}
.chart-canvas-holder canvas { max-width: 100% !important; }

/* Modal WhatsApp Plantillas */
.wa-template-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.wa-template-card:hover, .wa-template-card.active {
    border-color: var(--success);
    background: rgba(46, 204, 154, 0.08);
}
.wa-template-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--success);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.wa-template-preview {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Inline Edit select Wrapper & styling */
.estado-select-wrapper {
    position: relative;
    display: inline-block;
}
.estado-select-inline {
    background: var(--surface-raised) !important;
    border: 1px solid var(--border) !important;
    color: var(--text-primary) !important;
    border-radius: var(--radius-pill) !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    padding: 6px 28px 6px 14px !important;
    cursor: pointer !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    outline: none !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: all 0.2s ease !important;
}
.estado-select-inline option {
    background: #1a1129 !important;
    color: #f5f3fa !important;
}
.estado-select-wrapper::after {
    content: "▼";
    font-size: 8px;
    color: var(--pink);
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--surface-raised);
    border-left: 4px solid var(--success);
    border-top: 1px solid var(--border-soft);
    border-right: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
    box-shadow: var(--shadow);
    color: var(--text-primary);
    padding: 14px 20px;
    border-radius: 4px 12px 12px 4px;
    z-index: 2000;
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.toast-notification.active {
    transform: translateY(0);
    opacity: 1;
}
.toast-notification.error {
    border-left-color: var(--danger);
}
