/* ==========================================================================
   1. RESET & VARIABLES GLOBALES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

:root {
    --bg-main: #f8fafc;
    --bg-white: #ffffff;
    --workspace-dark: #0a0a0a;
    --primary-indigo: #c9a227;
    --primary-hover: #a6841f;
    --primary-light: #faf3df;
    --border-soft: #e2e8f0;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --green-accent: #22c55e;
    --green-light: #f0fdf4;
    --orange-accent: #f97316;
    --orange-light: #fff7ed;
    --red-accent: #ef4444;
    --red-light: #fef2f2;
    --blue-accent: #3b82f6;
    --blue-light: #eff6ff;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -1px rgba(0,0,0,0.04);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
}

body {
    background-color: var(--bg-main);
    color: var(--text-dark);
    min-height: 100vh;
    line-height: 1.5;
}

/* ==========================================================================
   2. BARRA SUPERIOR DEL WORKSPACE
   ========================================================================== */
.workspace-header {
    background-color: var(--workspace-dark);
    color: #ffffff;
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--primary-indigo);
}

.workspace-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.workspace-logo-indicator {
    background: linear-gradient(135deg, #c9a227, #8a6d1a);
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.workspace-logo-icon {
    width: 20px;
    height: 20px;
    color: #fff;
}

.workspace-title {
    font-weight: 700;
    font-size: 1rem;
    display: inline-block;
}

.workspace-badge {
    background-color: var(--primary-indigo);
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 600;
    margin-left: 6px;
    vertical-align: middle;
}

.workspace-subtitle {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 2px;
}

.workspace-actions {
    display: flex;
    gap: 8px;
}

.btn-workspace-action {
    background-color: #1e293b;
    border: 1px solid #334155;
    color: #94a3b8;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.btn-workspace-action svg {
    width: 14px;
    height: 14px;
}

.btn-workspace-action.active {
    background-color: var(--primary-indigo);
    border-color: var(--primary-indigo);
    color: #ffffff;
}

.btn-workspace-action:hover {
    background-color: #334155;
    color: #ffffff;
}

/* ==========================================================================
   3. SUBENCABEZADO DE LA APLICACIÓN
   ========================================================================== */
.app-subheader {
    background-color: var(--workspace-dark);
    padding: 16px 24px;
    border-bottom: 2px solid var(--primary-indigo);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.app-brand-identity {
    display: flex;
    align-items: center;
    gap: 12px;
}

.app-logo-box {
    background: linear-gradient(135deg, var(--primary-indigo), var(--primary-hover));
    color: #0a0a0a;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon-svg {
    width: 22px;
    height: 22px;
}

.app-brand-identity h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
}

.app-brand-identity p {
    font-size: 12px;
    color: #94a3b8;
}

.app-status {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-refresh {
    background: none;
    border: 1px solid #334155;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #94a3b8;
    transition: background 0.2s;
}

.btn-refresh:hover {
    background-color: #1a1a1a;
}

.btn-refresh svg {
    width: 16px;
    height: 16px;
}

.status-indicator-badge {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #16a34a;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: var(--green-accent);
    border-radius: 50%;
    display: inline-block;
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.7; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.7; }
}

/* ==========================================================================
   4. MENÚ LATERAL Y CONTENEDOR PRINCIPAL
   ========================================================================== */
.dashboard-wrapper {
    display: flex;
    min-height: calc(100vh - 140px);
}

.sidebar {
    width: 260px;
    background-color: var(--workspace-dark);
    border-right: 1px solid #1a1a1a;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-shrink: 0;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.nav-item svg {
    width: 18px;
    height: 18px;
}

.nav-item:hover {
    background-color: #1a1a1a;
    color: #ffffff;
}

.nav-item.active {
    background-color: var(--primary-indigo);
    color: #0a0a0a;
    font-weight: 700;
}

.sidebar-footer {
    border-top: 1px solid #1a1a1a;
    padding-top: 20px;
    margin-top: 20px;
}

.info-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.sidebar-footer p {
    font-size: 12px;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.sidebar-footer p svg {
    width: 14px;
    height: 14px;
    color: #64748b;
}

.btn-logout-sidebar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #1a1a1a;
    color: #ef4444;
    text-decoration: none;
    padding: 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 16px;
    transition: background 0.2s;
}

.btn-logout-sidebar:hover {
    background-color: #fee2e2;
}

/* ==========================================================================
   5. ÁREA DE CONTENIDO Y VISTA GENERAL (PANEL)
   ========================================================================== */
.main-content-area {
    flex-grow: 1;
    padding: 24px;
    background-color: var(--bg-main);
    overflow-y: auto;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.panel-header h1 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #0f172a;
}

.panel-header p {
    font-size: 13px;
    color: var(--text-muted);
}

.date-badge {
    background-color: var(--bg-white);
    border: 1px solid var(--border-soft);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dark);
}

/* Grilla KPI Cards */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.kpi-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
}

.kpi-content {
    display: flex;
    flex-direction: column;
}

.kpi-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.kpi-value {
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1;
    margin-bottom: 6px;
}

.kpi-subtitle {
    font-size: 11px;
    color: var(--text-muted);
}

.green-text { color: var(--green-accent); font-weight: 600; }
.orange-text { color: var(--orange-accent); font-weight: 600; }

.kpi-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kpi-icon svg { width: 20px; height: 20px; }
.icon-green { background-color: var(--green-light); color: var(--green-accent); }
.icon-purple { background-color: var(--primary-light); color: var(--primary-indigo); }
.icon-orange { background-color: var(--orange-light); color: var(--orange-accent); }
.icon-blue { background-color: var(--blue-light); color: var(--blue-accent); }

/* ==========================================================================
   6. DISPOSICIÓN PRINCIPAL: AGENDA Y SOLICITUDES
   ========================================================================== */
.dashboard-layout-grid { 
    display: grid; 
    grid-template-columns: 2fr 1fr; 
    gap: 24px; 
    margin-top: 24px; 
}

.section-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.section-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-soft);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-header h3 {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
}

.section-body {
    padding: 20px;
    flex-grow: 1;
}

/* Tarjetas de Agenda Diaria */
.agenda-card-item { 
    background: var(--bg-white); 
    border-radius: 12px; 
    padding: 16px; 
    margin-bottom: 14px; 
    box-shadow: var(--shadow-sm); 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    border-left: 5px solid #cbd5e1; 
    transition: all 0.2s ease-in-out; 
}

.agenda-card-item:hover {
    box-shadow: var(--shadow-md);
}

/* Bordes tácticos según estado */
.agenda-card-item.status-border-confirmed { border-left-color: var(--green-accent); background: var(--green-light); }
.agenda-card-item.status-border-pending { border-left-color: var(--orange-accent); background: var(--orange-light); }
.agenda-card-item.status-border-completed { border-left-color: var(--blue-accent); background: var(--blue-light); }
.agenda-card-item.status-border-rejected { border-left-color: var(--red-accent); background: var(--red-light); }

.agenda-item-left { display: flex; align-items: flex-start; gap: 14px; }

.avatar-initials { 
    width: 42px; 
    height: 42px; 
    border-radius: 50%; 
    background: #e2e8f0; 
    color: #475569; 
    font-weight: 700; 
    font-size: 14px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-transform: uppercase; 
    flex-shrink: 0; 
}

.agenda-meta-info h4 { 
    font-size: 15px; 
    font-weight: 600; 
    color: var(--text-dark); 
    margin: 0 0 4px 0; 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    flex-wrap: wrap; 
}

.agenda-meta-info p { font-size: 13px; color: var(--text-muted); margin: 2px 0; }

.agenda-notes-quote { 
    font-style: italic; 
    background: rgba(0,0,0,0.03); 
    padding: 6px 10px; 
    border-radius: 6px; 
    font-size: 12px; 
    color: #475569; 
    margin-top: 6px; 
    display: inline-block; 
    border-left: 2px solid #cbd5e1;
}

/* Badges / Pills de Estado */
.status-pill { padding: 3px 8px; border-radius: 6px; font-size: 10px; font-weight: 700; text-transform: uppercase; display: inline-block; }
.pill-confirmed { background: #dcfce7; color: #15803d; }
.pill-pending { background: #fef3c7; color: #b45309; }
.pill-completed { background: #dbeafe; color: #1d4ed8; }
.pill-rejected { background: #fee2e2; color: #991b1b; }

/* Botones de Acción Exprés */
.action-group-flex { display: flex; align-items: center; gap: 6px; }

.btn-action-express { 
    padding: 6px 12px; 
    border-radius: 6px; 
    font-size: 12px; 
    font-weight: 600; 
    border: none; 
    cursor: pointer; 
    display: inline-flex; 
    align-items: center; 
    gap: 4px; 
    transition: background 0.2s, transform 0.1s; 
}

.btn-action-express:active { transform: scale(0.97); }
.btn-express-complete { background: var(--blue-accent); color: white; }
.btn-express-complete:hover { background: #2563eb; }
.btn-express-cancel { background: var(--red-accent); color: white; padding: 6px 10px; }
.btn-express-cancel:hover { background: #dc2626; }
.btn-express-approve { background: var(--green-accent); color: white; padding: 6px 10px; }
.btn-express-approve:hover { background: #16a34a; }
.btn-express-edit { background: #f1f5f9; color: #475569; }
.btn-express-edit:hover { background: #e2e8f0; }

/* Lateral de Solicitudes Pendientes */
.pending-sidebar-container { 
    background: var(--bg-white); 
    border-radius: 12px; 
    padding: 18px; 
    box-shadow: var(--shadow-sm); 
    border: 1px solid var(--border-soft); 
    height: fit-content; 
}

.pending-request-card { 
    border: 1px solid #f1f5f9; 
    border-radius: 10px; 
    padding: 14px; 
    margin-top: 12px; 
    background: #fafafa; 
    transition: border-color 0.2s;
}

.pending-request-card:hover { border-color: #cbd5e1; }
.pending-card-row { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 6px; }

/* Estados Vacíos / Tip Box */
.empty-state {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    text-align: center;
}

.empty-state p {
    color: var(--text-muted);
    font-size: 13px;
}

.tip-box {
    background-color: #f5f3ff;
    border-radius: 8px;
    padding: 16px;
}

.tip-title {
    font-weight: 700;
    font-size: 13px;
    color: var(--primary-indigo);
    display: block;
    margin-bottom: 6px;
}

.tip-box p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ==========================================================================
   7. MODALES DE INTERFAZ Y FORMULARIOS FLOTANTES
   ========================================================================== */
.modal-overlay { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100vw; 
    height: 100vh; 
    background: rgba(15, 23, 42, 0.5); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    z-index: 9999; 
    backdrop-filter: blur(4px); 
    opacity: 0; 
    visibility: hidden; 
    transition: opacity 0.2s ease, visibility 0.2s ease; 
}

.modal-overlay.active { 
    opacity: 1; 
    visibility: visible; 
}

.modal-window { 
    background: var(--bg-white); 
    border-radius: 14px; 
    width: 100%; 
    max-width: 520px; 
    padding: 24px; 
    box-shadow: var(--shadow-lg); 
    position: relative; 
    max-height: 90vh; 
    overflow-y: auto; 
    transform: translateY(-12px); 
    transition: transform 0.2s ease; 
}

.modal-overlay.active .modal-window { 
    transform: translateY(0); 
}

.modal-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 18px; 
    border-bottom: 1px solid var(--border-soft);
    padding-bottom: 12px;
}

.modal-header h3 { 
    font-size: 16px; 
    font-weight: 700; 
    color: #0f172a; 
    margin: 0; 
}

.btn-close-modal { 
    background: none; 
    border: none; 
    font-size: 20px; 
    color: var(--text-muted); 
    cursor: pointer; 
    line-height: 1;
    padding: 4px;
}

.btn-close-modal:hover { color: var(--text-dark); }

.modal-body {
    padding-bottom: 12px;
}

.modal-footer {
    border-top: 1px solid var(--border-soft);
    padding-top: 16px;
    margin-top: 16px;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

/* ==========================================================================
   8. FORMULARIOS, TABLAS Y BOTONES GENERALES
   ========================================================================== */
.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-soft);
    border-radius: 6px;
    font-size: 13px;
    color: var(--text-dark);
    background-color: var(--bg-white);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
    border-color: var(--primary-indigo);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 80px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* Botones Principales y Secundarios */
.btn-primary {
    background-color: var(--primary-indigo);
    color: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

.btn-secondary {
    background-color: #f1f5f9;
    color: var(--text-dark);
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-soft);
    cursor: pointer;
    transition: background 0.2s;
}

.btn-secondary:hover {
    background-color: #e2e8f0;
}

.btn-danger {
    background-color: var(--red-accent);
    color: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    border: none;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-danger:hover { background-color: #dc2626; }

.btn-link {
    color: var(--primary-indigo);
    font-size: 12px;
    text-decoration: none;
    font-weight: 600;
}

.btn-link:hover { text-decoration: underline; }

/* Tablas */
.table-responsive {
    overflow-x: auto;
    margin-top: 16px;
}

.table-users {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--bg-white);
}

.table-users th {
    background-color: #f8fafc;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    text-align: left;
    padding: 12px 16px;
    border-bottom: 2px solid var(--border-soft);
}

.table-users td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-soft);
    font-size: 13px;
}

/* ==========================================================================
   9. RESPONSIVIDAD (Media Queries)
   ========================================================================== */
@media (max-width: 1024px) {
    .dashboard-sections,
    .dashboard-layout-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .workspace-actions {
        display: none;
    }
    .dashboard-wrapper {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border-soft);
    }
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Contenedor de elementos interactivos en el header */
.app-status {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Botones de acción del header (campana y usuario) */
.btn-header-action {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    color: #475569;
    transition: all 0.2s ease;
}

.btn-header-action:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #cbd5e1;
}

.btn-header-action svg {
    width: 18px;
    height: 18px;
}

/* Insignia de notificación (Badge) */
.custom-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #ef4444;
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 9999px;
    border: 2px solid #ffffff;
}

.custom-badge.d-none {
    display: none;
}

/* Estilos de menús desplegables personalizados */
.dropdown-container {
    position: relative;
}

.custom-dropdown-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    width: 280px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    display: none;
    z-index: 1000;
    overflow: hidden;
}

/* Mostrar dropdown al hacer click o mediante JS */
.dropdown-container.active .custom-dropdown-menu {
    display: block;
}

.dropdown-header-custom {
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
}

.dropdown-body-custom {
    max-height: 250px;
    overflow-y: auto;
}

.dropdown-item-custom {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    font-size: 13px;
    color: #334155;
    text-decoration: none;
    transition: background 0.15s;
}

.dropdown-item-custom:hover {
    background: #f8fafc;
    color: #0f172a;
}

.dropdown-item-custom svg {
    width: 16px;
    height: 16px;
    color: #64748b;
}

.dropdown-divider-custom {
    height: 1px;
    background: #f1f5f9;
    margin: 4px 0;
}

.dropdown-footer-custom {
    padding: 10px 16px;
    text-align: center;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
}

.dropdown-footer-custom a {
    font-size: 12px;
    font-weight: 500;
    color: #3b82f6;
    text-decoration: none;
}

.dropdown-footer-custom a:hover {
    text-decoration: underline;
}

/* Estilos para el Alerta Personalizado de ReservaPro */
.custom-alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.custom-alert-overlay.active {
    opacity: 1;
    visibility: visible;
}

.custom-alert-box {
    background: var(--bg-card, #ffffff);
    padding: 28px 24px;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    max-width: 360px;
    width: 90%;
    text-align: center;
    border: 1px solid var(--border-color, #e5e7eb);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.custom-alert-overlay.active .custom-alert-box {
    transform: translateY(0);
}

.custom-alert-icon {
    font-size: 36px;
    color: var(--orange-primary, #f97316);
    margin-bottom: 14px;
}

.custom-alert-message {
    font-size: 14px;
    color: var(--text-dark, #1f2937);
    margin-bottom: 22px;
    font-weight: 600;
    line-height: 1.5;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.custom-alert-btn {
    background: var(--orange-primary, #f97316);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    font-size: 13px;
    width: 100%;
    transition: background 0.2s;
}

.custom-alert-btn:hover {
    opacity: 0.9;
}
/* ========================================================================== 
   RESERVAPRO V5 · SISTEMA VISUAL PROFESIONAL
   ========================================================================== */
:root{
  --rp-shell:#f3f6fa;
  --rp-panel:#ffffff;
  --rp-ink:#0f172a;
  --rp-muted:#64748b;
  --rp-line:#e2e8f0;
  --rp-gold:#d4a62a;
  --rp-gold-soft:#fff7df;
  --rp-navy:#0b1220;
  --rp-shadow:0 16px 45px rgba(15,23,42,.08);
  --rp-shadow-soft:0 8px 24px rgba(15,23,42,.05);
}
body{background:linear-gradient(180deg,#f8fafc 0%,var(--rp-shell) 100%);color:var(--rp-ink)}
.app-subheader{position:sticky;top:0;z-index:120;background:rgba(8,12,20,.96);backdrop-filter:blur(16px);padding:14px 24px;border-bottom:1px solid rgba(212,166,42,.55);box-shadow:0 10px 30px rgba(0,0,0,.12)}
.app-logo-box{width:44px;height:44px;border-radius:14px;background:linear-gradient(135deg,var(--rp-gold),#f2c44f);color:#111827;box-shadow:0 8px 22px rgba(212,166,42,.18)}
.app-brand-identity h2{font-size:19px;letter-spacing:-.02em}.app-brand-identity p{font-size:12px;color:#94a3b8}.btn-refresh,.btn-header-action{width:40px;height:40px;border-radius:13px;border:1px solid #334155;background:#111827;color:#cbd5e1}.btn-refresh:hover,.btn-header-action:hover{background:#1e293b;color:#fff}.status-indicator-badge{border-radius:999px;padding:9px 14px;border:1px solid rgba(34,197,94,.18);box-shadow:none}.dashboard-wrapper{min-height:calc(100vh - 73px);background:transparent}.sidebar{width:272px;background:#0b0f16;border-right:1px solid rgba(255,255,255,.04);padding:18px 14px 14px}.sidebar-nav{display:grid;gap:6px}.sidebar .nav-item{padding:12px 14px;border-radius:13px;color:#a9bdd5;font-size:13px;font-weight:650;transition:.18s ease;border:1px solid transparent}.sidebar .nav-item svg{width:18px;height:18px}.sidebar .nav-item:hover{background:rgba(255,255,255,.055);color:#fff}.sidebar .nav-item.active{background:linear-gradient(135deg,var(--rp-gold),#e8bb3e);color:#111827;border-color:rgba(255,255,255,.08);box-shadow:0 8px 24px rgba(212,166,42,.18)}.sidebar-footer{margin-top:20px;padding:16px;border:1px solid rgba(255,255,255,.08);border-radius:16px;background:rgba(255,255,255,.03)}.sidebar-footer .info-label{color:#64748b;letter-spacing:.12em}.sidebar-footer p{color:#9fb0c5}.btn-logout-sidebar{border-radius:12px!important;background:rgba(239,68,68,.08)!important;color:#fca5a5!important;border:1px solid rgba(239,68,68,.12)!important}.main-content-area{padding:34px 28px 42px;max-width:1600px;width:calc(100% - 272px);background:transparent}.main-content-area h1,.main-content-area h2,.main-content-area h3{letter-spacing:-.025em}.stats-card,.stat-card,.dashboard-card,.content-card,.panel-card,.table-container,.form-card,.card,.admin-card{border:1px solid var(--rp-line)!important;border-radius:20px!important;box-shadow:var(--rp-shadow-soft)!important;background:var(--rp-panel)!important}.custom-dropdown-menu{border:1px solid var(--rp-line);border-radius:16px;box-shadow:var(--rp-shadow);overflow:hidden}.custom-dropdown-menu .dropdown-item-custom{padding:11px 14px}.form-control,input[type=text],input[type=email],input[type=password],input[type=number],input[type=date],input[type=time],select,textarea{border-radius:12px!important;border-color:#cbd5e1!important;background:#fff!important;box-shadow:none!important}.form-control:focus,input:focus,select:focus,textarea:focus{border-color:rgba(212,166,42,.65)!important;box-shadow:0 0 0 4px rgba(212,166,42,.12)!important}.btn-primary,.btn-save,.btn-add,.btn-action-primary{border-radius:12px!important;background:linear-gradient(135deg,var(--rp-gold),#f2c44f)!important;color:#111827!important;border:none!important;font-weight:800!important;box-shadow:0 8px 20px rgba(212,166,42,.2)!important}.table-container table,.data-table{border-collapse:separate;border-spacing:0}.table-container thead th,.data-table thead th{background:#f8fafc;color:#64748b;text-transform:uppercase;font-size:10px;letter-spacing:.08em}.table-container tbody tr:hover,.data-table tbody tr:hover{background:#fafcff}.badge,.status-badge{border-radius:999px!important;padding:6px 10px!important;font-weight:800!important}.modal-content{border:none!important;border-radius:24px!important;box-shadow:0 28px 80px rgba(15,23,42,.22)!important}.page-header,.section-header{margin-bottom:24px}.page-header p,.section-header p{color:var(--rp-muted)}
@media(max-width:980px){.sidebar{width:230px}.main-content-area{width:calc(100% - 230px);padding:26px 18px}}@media(max-width:760px){.app-subheader{padding:12px 14px}.app-brand-identity p{display:none}.dashboard-wrapper{display:block}.sidebar{position:relative;width:100%;padding:10px;overflow-x:auto}.sidebar-nav{display:flex;min-width:max-content}.sidebar-footer{display:none}.sidebar .nav-item{white-space:nowrap}.main-content-area{width:100%;padding:20px 14px}}
