/* ========================================================
   SisSDT .NET â€” CSS Principal
   Design: Dark sidebar + Light content, Inter font
   ======================================================== */

:root {
    /* Paleta */
    --primary: #6C5CE7;
    --primary-dark: #5A4DD0;
    --primary-light: #A29BFE;
    --secondary: #00CEC9;
    --accent: #FD79A8;
    --success: #00B894;
    --warning: #FDCB6E;
    --danger: #E17055;
    --info: #74B9FF;

    /* Sidebar */
    --sidebar-bg: #0F0F1A;
    --sidebar-w: 260px;
    --sidebar-w-collapsed: 70px;
    --sidebar-text: rgba(255,255,255,0.7);
    --sidebar-text-active: #fff;
    --sidebar-hover: rgba(108,92,231,0.15);
    --sidebar-active: rgba(108,92,231,0.25);
    --sidebar-border: rgba(255,255,255,0.05);

    /* Content */
    --bg: #F5F6FA;
    --surface: #FFFFFF;
    --surface-2: #F8F9FD;
    --border: #E5E8F0;
    --text: #2D3436;
    --text-muted: #636E72;

    /* Misc */
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 4px 24px rgba(0,0,0,0.08);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
}

/* â”€â”€ Reset & Base â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
    height: 100%;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14px;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
}

/* â”€â”€ App Wrapper â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.app-wrapper {
    display: flex;
    min-height: 100vh;
}

/* â”€â”€ Sidebar â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.sidebar {
    width: var(--sidebar-w);
    min-height: 100vh;
    background: var(--sidebar-bg);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: var(--transition);
    border-right: 1px solid var(--sidebar-border);
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 24px 20px;
    border-bottom: 1px solid var(--sidebar-border);
    text-decoration: none;
}

.brand-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    flex-shrink: 0;
}

.brand-name {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: white;
    letter-spacing: 0.5px;
}

.brand-sub {
    display: block;
    font-size: 10px;
    color: var(--sidebar-text);
    letter-spacing: 0.3px;
}

/* â”€â”€ Nav â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.sidebar-nav {
    flex: 1;
    padding: 16px 12px;
    overflow-y: auto;
}

.nav-section {
    margin-bottom: 24px;
}

.nav-section-label {
    display: block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    padding: 0 8px;
    margin-bottom: 8px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    color: var(--sidebar-text);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    transition: var(--transition);
    margin-bottom: 2px;
    white-space: nowrap;
}

.nav-item i { width: 18px; text-align: center; font-size: 14px; flex-shrink: 0; }

.nav-item:hover {
    background: var(--sidebar-hover);
    color: var(--sidebar-text-active);
    transform: translateX(4px);
}

.nav-item.active {
    background: var(--sidebar-active);
    color: var(--sidebar-text-active);
    border-left: 3px solid var(--primary);
}

/* â”€â”€ Sidebar Footer â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.sidebar-footer {
    padding: 16px;
    border-top: 1px solid var(--sidebar-border);
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.user-avatar {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.user-details { min-width: 0; }
.user-name { display: block; font-size: 12px; font-weight: 600; color: white; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-role { display: block; font-size: 10px; color: var(--sidebar-text); }

.btn-logout {
    width: 32px; height: 32px;
    background: rgba(231,105,105,0.15);
    border: none;
    border-radius: 8px;
    color: #e97373;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}
.btn-logout:hover { background: rgba(231,105,105,0.3); }

/* â”€â”€ Main Content â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.main-content {
    margin-left: var(--sidebar-w);
    flex: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

/* â”€â”€ Topbar â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.topbar {
    height: 64px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    padding: 0 24px;
    gap: 16px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.sidebar-toggle {
    width: 36px; height: 36px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
}
.sidebar-toggle:hover { background: var(--primary); color: white; border-color: var(--primary); }

.topbar-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    flex: 1;
}

.topbar-actions { display: flex; align-items: center; gap: 8px; }

.topbar-time {
    font-size: 12px;
    color: var(--text-muted);
    background: var(--surface-2);
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid var(--border);
}

/* â”€â”€ Page Content â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.page-content {
    padding: 24px;
    flex: 1;
}

/* â”€â”€ Cards â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.card-header {
    background: transparent;
    border-bottom: 1px solid var(--border);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.card-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    margin: 0;
}

.card-body { padding: 20px; }

/* â”€â”€ Stat Cards â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.stat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.stat-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.stat-icon.purple { background: rgba(108,92,231,0.12); color: var(--primary); }
.stat-icon.teal { background: rgba(0,206,201,0.12); color: var(--secondary); }
.stat-icon.pink { background: rgba(253,121,168,0.12); color: var(--accent); }
.stat-icon.green { background: rgba(0,184,148,0.12); color: var(--success); }
.stat-icon.orange { background: rgba(253,203,110,0.15); color: #e67e22; }
.stat-icon.blue { background: rgba(116,185,255,0.15); color: #2980b9; }

.stat-info .stat-value {
    font-size: 26px;
    font-weight: 700;
    color: var(--text);
    line-height: 1;
}
.stat-info .stat-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
    font-weight: 500;
}

/* â”€â”€ Badges â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.badge {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
}
.badge-active { background: rgba(0,184,148,0.12); color: var(--success); }
.badge-inactive { background: rgba(225,112,85,0.12); color: var(--danger); }
.badge-completed { background: rgba(116,185,255,0.15); color: #2980b9; }

/* â”€â”€ Buttons â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    font-weight: 500;
    border-radius: 8px;
    padding: 8px 18px;
    transition: var(--transition);
}
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }

.btn-sm { padding: 5px 12px; font-size: 12px; border-radius: 6px; }

/* â”€â”€ Formularios â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.form-control, .form-select {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 13.5px;
    transition: var(--transition);
    background: var(--surface-2);
}
.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(108,92,231,0.12);
    background: white;
}
.form-label { font-size: 12.5px; font-weight: 600; color: var(--text-muted); margin-bottom: 5px; }

/* â”€â”€ Tables â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.table th {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-muted);
    border-top: none;
    background: var(--surface-2);
    padding: 12px 16px;
}
.table td { padding: 12px 16px; vertical-align: middle; border-color: var(--border); font-size: 13.5px; }
.table tbody tr:hover { background: rgba(108,92,231,0.03); }

/* â”€â”€ DataTables â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.dataTables_wrapper .dataTables_filter input {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 6px 12px;
    background: var(--surface-2);
}

/* â”€â”€ Modals â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.modal-content {
    border: none;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
.modal-header {
    border-bottom: 1px solid var(--border);
    padding: 20px 24px 16px;
}
.modal-title { font-size: 16px; font-weight: 700; }
.modal-body { padding: 24px; }
.modal-footer { border-top: 1px solid var(--border); padding: 16px 24px; }

/* â”€â”€ Toast â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.toast {
    border: none;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    font-size: 13.5px;
}
.toast.toast-success { border-left: 4px solid var(--success); }
.toast.toast-error { border-left: 4px solid var(--danger); }
.toast.toast-info { border-left: 4px solid var(--info); }

/* â”€â”€ Sidebar collapsed â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.sidebar.collapsed { width: var(--sidebar-w-collapsed); }
.sidebar.collapsed .brand-text,
.sidebar.collapsed .nav-item span,
.sidebar.collapsed .nav-section-label,
.sidebar.collapsed .user-details { display: none; }
.sidebar.collapsed .nav-item { justify-content: center; }
.sidebar.collapsed + .main-content,
.sidebar.collapsed ~ .main-content { margin-left: var(--sidebar-w-collapsed); }

/* â”€â”€ Login page â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.login-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #0F0F1A 0%, #1a1a2e 50%, #16213e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 48px 40px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.login-logo {
    width: 64px; height: 64px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px;
    color: white;
    margin: 0 auto 24px;
}

.login-card h1 { color: white; font-size: 24px; font-weight: 700; text-align: center; margin-bottom: 8px; }
.login-card p { color: rgba(255,255,255,0.5); text-align: center; margin-bottom: 32px; font-size: 13px; }

.login-card .form-label { color: rgba(255,255,255,0.7); }
.login-card .form-control {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    color: white;
    border-radius: 10px;
    padding: 12px 16px;
}
.login-card .form-control:focus {
    background: rgba(255,255,255,0.1);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 0 0 3px rgba(108,92,231,0.25);
}
.login-card .form-control::placeholder { color: rgba(255,255,255,0.3); }
.login-card .btn-primary {
    width: 100%;
    padding: 13px;
    font-size: 15px;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    border-radius: 10px;
    letter-spacing: 0.3px;
    margin-top: 8px;
}
.login-card .btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }

/* â”€â”€ Action bar â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.action-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}
.page-title { font-size: 20px; font-weight: 700; color: var(--text); }
.page-subtitle { font-size: 13px; color: var(--text-muted); margin-top: 2px; }

/* â”€â”€ Status dot â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.status-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 6px; }
.status-dot.active { background: var(--success); }
.status-dot.inactive { background: var(--danger); }

/* â”€â”€ Responsive â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (max-width: 768px) {
    .sidebar { transform: translateX(-100%); }
    .sidebar.mobile-open { transform: translateX(0); }
    .main-content { margin-left: 0; }
    .page-content { padding: 16px; }
}
/* -- RESPONSIVE MOBILE COMPLETO ------------------------------ */
/* -- Breakpoint 768px ---------------------------------------- */
@media (max-width: 768px) {

  /* App layout */
  .app-wrapper { flex-direction: column; }
  .sidebar { position: fixed; top:0; left:0; height:100%; z-index:1000; width:260px; transform:translateX(-100%); transition:transform .3s ease; }
  .sidebar.mobile-open { transform:translateX(0); box-shadow:4px 0 20px rgba(0,0,0,.2); }
  .main-content { margin-left:0 !important; width:100%; }
  .page-content { padding:12px; }
  .topbar { padding:0 12px; }

  /* Overlay para cerrar sidebar */
  .sidebar-overlay { display:none; position:fixed; inset:0; background:rgba(0,0,0,.4); z-index:999; }
  .sidebar-overlay.active { display:block; }

  /* Action bar */
  .action-bar { flex-direction:column; align-items:flex-start; gap:10px; }
  .action-bar .d-flex { width:100%; }
  .action-bar .btn { flex:1; text-align:center; }

  /* Cards y grids */
  .row.g-3 > [class*="col-md"] { flex:0 0 100%; max-width:100%; }
  .row.g-3 > .col-md-4, .row.g-3 > .col-md-6, .row.g-3 > .col-md-3,
  .row.g-3 > .col-md-8, .row.g-3 > .col-md-2 { flex:0 0 100%; max-width:100%; }

  /* Tablas DataTables */
  .dataTables_wrapper .row { flex-direction:column; }
  table.dataTable thead th { font-size:11px; padding:6px 8px !important; }
  table.dataTable tbody td { font-size:12px; padding:6px 8px !important; }

  /* -- CALENDARIO (énfasis especial) --------------------------- */
  .calendar-container { flex-direction:column !important; gap:12px; }
  .calendar-main { width:100%; }
  .calendar-sidebar { width:100% !important; flex-shrink:unset; }

  /* FullCalendar móvil */
  .fc .fc-toolbar { flex-direction:column; gap:8px; }
  .fc .fc-toolbar-title { font-size:15px !important; }
  .fc .fc-button { font-size:12px !important; padding:4px 8px !important; }
  .fc .fc-daygrid-day-number { font-size:11px; }
  .fc .fc-event { font-size:10px !important; padding:1px 4px !important; }
  .fc .fc-header-toolbar .fc-toolbar-chunk { width:100%; text-align:center; }

  /* Próximos eventos */
  .prox-card { padding:8px 10px; gap:8px; }
  .prox-dia { font-size:18px; }

  /* Panel detalle evento */
  .event-detail-card { margin-bottom:10px; }
  .event-detail-header { padding:12px; }
  .event-detail-body { padding:12px; }

  /* -- PERFIL / CONTRASEÑA -------------------------------------- */
  .card { margin-bottom:16px; }
  .card-body { padding:14px; }

  /* Sidebar footer */
  .sidebar-footer { padding:10px 12px; }
  .user-name { font-size:12px; }
  .user-role { font-size:10px; }

  /* Modales */
  .modal-dialog { margin:8px; }
  .modal-dialog.modal-lg { max-width:100%; }

  /* Mapas */
  #mapaVer, #mapaContrato { height:180px !important; }
}

/* -- Breakpoint 480px (móviles pequeños) -------------------- */
@media (max-width: 480px) {
  .fc .fc-toolbar { gap:4px; }
  .fc .fc-button-group .fc-button { padding:3px 6px !important; font-size:11px !important; }
  .sidebar-brand .brand-text { display:none; }
  .topbar-title { font-size:14px; }
  .page-title { font-size:16px; }
  .btn { font-size:13px; padding:6px 12px; }
  .prox-card { flex-direction:column; align-items:flex-start; gap:4px; }
}

/* -- Overlay sidebar JS (inject from site.js) --------------- */
