/* 
   EDUCORE ERP - Panel de Control & CRM CSS
   Premium Design System with Glassmorphism, Animations & Professional Aesthetics
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    /* Color Palette - Premium Dark Mode */
    --admin-bg: #060B18;
    --admin-bg-gradient: linear-gradient(135deg, #060B18 0%, #0D1526 50%, #0A1628 100%);
    --admin-card-bg: rgba(17, 24, 39, 0.7);
    --admin-card-bg-solid: #111827;
    --admin-card-border: rgba(55, 65, 81, 0.5);
    --admin-card-hover: rgba(31, 41, 55, 0.6);
    --admin-text: #F3F4F6;
    --admin-text-muted: #9CA3AF;
    --admin-primary: #00B4D8;
    --admin-primary-rgb: 0, 180, 216;
    --admin-primary-dark: #0077B6;
    --admin-primary-glow: rgba(0, 180, 216, 0.15);
    --admin-secondary: #0B2545;
    --admin-accent: #10B981;
    --admin-accent-rgb: 16, 185, 129;
    --admin-warning: #F59E0B;
    --admin-warning-rgb: 245, 158, 11;
    --admin-error: #EF4444;
    --admin-error-rgb: 239, 68, 68;
    --admin-purple: #8B5CF6;
    --admin-purple-rgb: 139, 92, 246;
    --admin-orange: #FF5E36;
    --admin-orange-rgb: 255, 94, 54;
    --admin-amber: #FFAE33;
    --admin-amber-rgb: 255, 174, 51;
    --admin-neon: #00F0FF;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.25), 0 2px 4px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.35), 0 4px 10px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 20px rgba(0, 180, 216, 0.15);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
    --transition-bounce: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background: var(--admin-bg-gradient);
    background-attachment: fixed;
    color: var(--admin-text);
    overflow-x: hidden;
    line-height: 1.6;
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(100,116,139,0.4); border-radius: var(--radius-full); }
::-webkit-scrollbar-thumb:hover { background: rgba(100,116,139,0.7); }

/* === ANIMATIONS === */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 5px rgba(var(--admin-primary-rgb), 0.2); }
    50% { box-shadow: 0 0 20px rgba(var(--admin-primary-rgb), 0.4); }
}
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
}
@keyframes slideIn {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* === LAYOUT === */
.admin-layout {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

/* === SIDEBAR === */
.admin-sidebar {
    width: 270px;
    height: 100vh;
    background: #FFFFFF;
    border-right: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    z-index: 10;
    transition: var(--transition-bounce);
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: 4px 0 25px rgba(0, 0, 0, 0.05);
}

/* Sidebar subtle accent line */
.admin-sidebar::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, var(--admin-primary) 50%, transparent 100%);
}

.sidebar-logo {
    height: 72px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    flex-shrink: 0;
    background: rgba(0, 0, 0, 0.015);
}

.sidebar-logo img {
    height: 42px;
    width: 42px;
    object-fit: contain;
    filter: drop-shadow(0 2px 5px rgba(0, 180, 216, 0.25));
    animation: float 4s ease-in-out infinite;
}

.sidebar-logo span {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    background: linear-gradient(135deg, #0B2545, var(--admin-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
}

.sidebar-menu {
    padding: 20px 14px;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-grow: 1;
}

.menu-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    color: #6B7280;
    font-weight: 700;
    letter-spacing: 2px;
    margin: 22px 12px 10px 12px;
    opacity: 0.85;
}

.menu-label:first-child {
    margin-top: 4px;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 16px;
    border-radius: var(--radius-md);
    font-size: 0.92rem;
    color: #4B5563;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
    transition: var(--transition-bounce);
}

.sidebar-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--admin-primary), #00F0FF);
    border-radius: 0 4px 4px 0;
    opacity: 0;
    transition: var(--transition);
}

.sidebar-menu a:hover {
    background: rgba(0, 180, 216, 0.05);
    color: var(--admin-primary);
    transform: translateX(6px) scale(1.02);
    border-color: rgba(0, 180, 216, 0.15);
    box-shadow: 0 2px 8px rgba(0, 180, 216, 0.08);
}

.sidebar-menu li.active a {
    background: rgba(0, 180, 216, 0.09);
    color: var(--admin-primary);
    font-weight: 600;
    border-color: rgba(0, 180, 216, 0.25);
    box-shadow: 0 4px 12px rgba(0, 180, 216, 0.1);
    transform: translateX(4px);
}

.sidebar-menu li.active a::before {
    opacity: 1;
}

.sidebar-menu a i {
    font-size: 1.3rem;
    width: 22px;
    text-align: center;
    flex-shrink: 0;
    transition: var(--transition-bounce);
}

.sidebar-menu a:hover i {
    color: var(--admin-primary);
    transform: scale(1.15);
}

.sidebar-menu li.active a i {
    color: var(--admin-primary);
    text-shadow: 0 0 10px rgba(0, 180, 216, 0.35);
}

.sidebar-footer {
    padding: 16px 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    background: rgba(0, 0, 0, 0.015);
}

.user-profile-info h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1F2937;
}

.user-profile-info p {
    font-size: 0.72rem;
    color: #6B7280;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* === MAIN WORKSPACE === */
.admin-workspace {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    position: relative;
    height: 100vh;
    overflow: hidden;
}

/* === TOP HEADER === */
.admin-header {
    height: 68px;
    background: rgba(17, 24, 39, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, var(--admin-primary), var(--admin-purple), var(--admin-primary)) 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    position: relative;
    z-index: 50;
    flex-shrink: 0;
}

.page-title h1 {
    font-size: 1.35rem;
    color: var(--admin-text);
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.3px;
}

.page-title p {
    font-size: 0.8rem;
    color: var(--admin-text-muted);
    font-weight: 400;
}

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

.header-notification {
    position: relative;
    font-size: 1.3rem;
    color: var(--admin-text-muted);
    cursor: pointer;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.header-notification:hover {
    background: rgba(var(--admin-primary-rgb), 0.1);
    color: var(--admin-primary);
}

/* Dynamic badges handled in HTML template */

/* === CONTENT AREA === */
.admin-content {
    padding: 28px;
    overflow-y: auto;
    flex-grow: 1;
    animation: fadeIn 0.4s ease-out;
    background-image: radial-gradient(rgba(0, 180, 216, 0.03) 1px, transparent 1px);
    background-size: 25px 25px;
}

/* === DASHBOARD KPI GRID === */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 28px;
}

.kpi-card {
    background: var(--admin-card-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--admin-card-border);
    border-radius: var(--radius-md);
    padding: 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.5s ease-out backwards;
}

.kpi-card:nth-child(1) { animation-delay: 0.05s; }
.kpi-card:nth-child(2) { animation-delay: 0.1s; }
.kpi-card:nth-child(3) { animation-delay: 0.15s; }
.kpi-card:nth-child(4) { animation-delay: 0.2s; }

.kpi-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--admin-primary), transparent);
    opacity: 0;
    transition: var(--transition);
}

.kpi-card:hover {
    transform: translateY(-4px);
    border-color: rgba(var(--admin-primary-rgb), 0.3);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.kpi-card:hover::before {
    opacity: 1;
}

.kpi-info h3 {
    font-size: 0.75rem;
    color: var(--admin-text-muted);
    text-transform: uppercase;
    margin-bottom: 8px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.kpi-val {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--admin-text);
    line-height: 1;
}

.kpi-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: var(--transition-bounce);
}

.kpi-card:hover .kpi-icon {
    transform: scale(1.1);
}

.kpi-icon.primary { background: rgba(var(--admin-primary-rgb), 0.12); color: var(--admin-primary); }
.kpi-icon.success { background: rgba(var(--admin-accent-rgb), 0.12); color: var(--admin-accent); }
.kpi-icon.warning { background: rgba(var(--admin-warning-rgb), 0.12); color: var(--admin-warning); }
.kpi-icon.purple { background: rgba(var(--admin-purple-rgb), 0.12); color: var(--admin-purple); }

/* === DASHBOARD COLUMNS === */
.dashboard-columns {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 20px;
    margin-bottom: 28px;
}

/* === CARDS === */
.admin-card {
    background: var(--admin-card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--admin-card-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-md);
    margin-bottom: 24px;
    transition: var(--transition-bounce);
    animation: fadeInUp 0.5s ease-out backwards;
    position: relative;
}

.admin-card:hover {
    transform: translateY(-4px);
    border-color: rgba(var(--admin-primary-rgb), 0.35);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(var(--admin-primary-rgb), 0.08);
}

.admin-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(55, 65, 81, 0.4);
    padding-bottom: 12px;
}

.admin-card-header h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -0.2px;
}

/* === CRM PIPELINE === */
.pipeline-scroll {
    overflow-x: auto;
    padding-bottom: 12px;
    margin-bottom: 12px;
}

.pipeline-container {
    display: flex;
    gap: 14px;
    min-width: 1200px;
}

.pipeline-column {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--admin-card-border);
    border-radius: var(--radius-md);
    width: 240px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 400px;
    transition: var(--transition);
}

.pipeline-column:hover {
    background: rgba(15, 23, 42, 0.7);
}

.pipeline-column-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--admin-card-border);
    padding-bottom: 8px;
    margin-bottom: 6px;
}

.pipeline-column-header h4 {
    font-size: 0.85rem;
    font-weight: 600;
}

.pipeline-count {
    background: var(--admin-card-border);
    color: var(--admin-text-muted);
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-weight: 600;
}

.pipeline-card {
    background: var(--admin-card-bg-solid);
    border: 1px solid var(--admin-card-border);
    border-radius: var(--radius-sm);
    padding: 12px;
    box-shadow: var(--shadow-sm);
    cursor: grab;
    transition: var(--transition);
}

.pipeline-card:hover {
    transform: translateY(-3px);
    border-color: rgba(var(--admin-primary-rgb), 0.4);
    box-shadow: var(--shadow-md);
}

.pipeline-card h5 { font-size: 0.85rem; font-weight: 600; margin-bottom: 4px; }
.pipeline-card p { font-size: 0.75rem; color: var(--admin-text-muted); }

.pipeline-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--admin-card-border);
}

.pipeline-tag {
    font-size: 0.68rem;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

/* === BADGES === */
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.badge-lead { background: rgba(156,163,175,0.12); color: #9CA3AF; }
.badge-interesado { background: rgba(59,130,246,0.12); color: #3B82F6; }
.badge-visita { background: rgba(var(--admin-warning-rgb),0.12); color: var(--admin-warning); }
.badge-entrevista { background: rgba(236,72,153,0.12); color: #EC4899; }
.badge-examen { background: rgba(var(--admin-purple-rgb),0.12); color: var(--admin-purple); }
.badge-aceptado { background: rgba(var(--admin-accent-rgb),0.12); color: var(--admin-accent); }
.badge-inscripcion { background: rgba(20,184,166,0.12); color: #14B8A6; }
.badge-estudiante { background: rgba(var(--admin-error-rgb),0.12); color: var(--admin-error); }

/* === TABLE === */
.table-responsive { overflow-x: auto; border-radius: var(--radius-sm); }

.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.88rem;
}

.admin-table th {
    background: rgba(15, 23, 42, 0.6);
    padding: 12px 16px;
    font-weight: 600;
    color: var(--admin-text-muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--admin-card-border);
    white-space: nowrap;
}

.admin-table td {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(55, 65, 81, 0.3);
    color: var(--admin-text);
}

.admin-table tbody tr {
    transition: var(--transition-fast);
}

.admin-table tbody tr:hover {
    background: rgba(var(--admin-primary-rgb), 0.04);
}

/* === TIMELINE === */
.timeline {
    position: relative;
    padding-left: 26px;
    margin-top: 12px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 7px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(180deg, var(--admin-primary), rgba(var(--admin-primary-rgb), 0.1));
    border-radius: var(--radius-full);
}

.timeline-item {
    position: relative;
    margin-bottom: 20px;
    animation: slideInLeft 0.4s ease-out backwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }

.timeline-dot {
    position: absolute;
    left: -26px;
    top: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--admin-bg);
    border: 2px solid var(--admin-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.timeline-dot::after {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--admin-primary);
    border-radius: 50%;
}

.timeline-content {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid var(--admin-card-border);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    transition: var(--transition);
}

.timeline-content:hover {
    border-color: rgba(var(--admin-primary-rgb), 0.3);
    background: rgba(15, 23, 42, 0.6);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--admin-text-muted);
    margin-bottom: 4px;
}

.timeline-header strong { color: var(--admin-primary); }
.timeline-body { font-size: 0.85rem; }

/* === DOCUMENT GRID === */
.doc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
}

.doc-card {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid var(--admin-card-border);
    border-radius: var(--radius-sm);
    padding: 16px;
    text-align: center;
    transition: var(--transition);
}

.doc-card:hover {
    border-color: rgba(var(--admin-primary-rgb), 0.3);
    transform: translateY(-2px);
}

.doc-card i { font-size: 2.2rem; color: var(--admin-primary); margin-bottom: 10px; }
.doc-card h5 { font-size: 0.85rem; margin-bottom: 8px; }

.doc-actions {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: 10px;
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.btn:active::after {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--admin-primary), var(--admin-primary-dark));
    color: white;
    box-shadow: 0 2px 8px rgba(var(--admin-primary-rgb), 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(var(--admin-primary-rgb), 0.4);
}

.btn-secondary {
    background: rgba(var(--admin-primary-rgb), 0.1);
    color: var(--admin-primary);
    border: 1px solid rgba(var(--admin-primary-rgb), 0.2);
}

.btn-secondary:hover {
    background: rgba(var(--admin-primary-rgb), 0.2);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--admin-card-border);
    color: var(--admin-text);
}

.btn-outline:hover {
    border-color: var(--admin-primary);
    color: var(--admin-primary);
    background: rgba(var(--admin-primary-rgb), 0.05);
}

.btn-sm { padding: 7px 14px; font-size: 0.82rem; }

.btn-icon {
    width: 34px;
    height: 34px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: var(--transition);
}

.btn-icon-primary { background: rgba(var(--admin-primary-rgb), 0.1); color: var(--admin-primary); }
.btn-icon-primary:hover { background: var(--admin-primary); color: white; transform: scale(1.1); }
.btn-icon-success { background: rgba(var(--admin-accent-rgb), 0.1); color: var(--admin-accent); }
.btn-icon-success:hover { background: var(--admin-accent); color: white; transform: scale(1.1); }
.btn-icon-error { background: rgba(var(--admin-error-rgb), 0.1); color: var(--admin-error); }
.btn-icon-error:hover { background: var(--admin-error); color: white; transform: scale(1.1); }

/* === FORMS === */
.admin-form-group {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.admin-form-group label {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--admin-text-muted);
}

.admin-form-control {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--admin-card-border);
    color: var(--admin-text);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 0.88rem;
    font-family: var(--font-body);
    width: 100%;
    transition: var(--transition);
}

.admin-form-control:focus {
    outline: none;
    border-color: var(--admin-primary);
    box-shadow: 0 0 0 3px rgba(var(--admin-primary-rgb), 0.12);
    background: rgba(15, 23, 42, 0.8);
}

.admin-form-control::placeholder {
    color: rgba(156,163,175,0.5);
}

/* === LOGIN PAGE === */
.login-body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: var(--admin-bg-gradient);
    position: relative;
    overflow: hidden;
}

/* Animated background orbs */
.login-body::before,
.login-body::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: float 8s ease-in-out infinite;
}

.login-body::before {
    width: 400px;
    height: 400px;
    background: var(--admin-orange);
    top: -100px;
    right: -100px;
}

.login-body::after {
    width: 300px;
    height: 300px;
    background: var(--admin-neon);
    bottom: -80px;
    left: -80px;
    animation-delay: 4s;
}

.login-card {
    background: rgba(17, 24, 39, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(55, 65, 81, 0.5);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 420px;
    padding: 40px 36px;
    box-shadow: var(--shadow-lg), 0 0 40px rgba(0,0,0,0.3);
    animation: fadeInUp 0.6s ease-out;
    position: relative;
    z-index: 1;
}

.login-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.login-logo img {
    height: 80px;
    width: auto;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.login-logo h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--admin-text), var(--admin-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.5px;
}

/* Login button special style */
.login-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, var(--admin-orange), var(--admin-amber));
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(var(--admin-orange-rgb), 0.5);
}

/* === TABS === */
.tabs-container {
    display: flex;
    border-bottom: 1px solid var(--admin-card-border);
    margin-bottom: 20px;
    gap: 0;
    overflow-x: auto;
}

.tab-btn {
    padding: 12px 18px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--admin-text-muted);
    background: none;
    border: none;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
    font-family: var(--font-body);
}

.tab-btn:hover {
    color: var(--admin-text);
    background: rgba(var(--admin-primary-rgb), 0.05);
}

.tab-btn.active {
    color: var(--admin-primary);
    border-bottom-color: var(--admin-primary);
    font-weight: 600;
}

/* === QUICK LINKS (Dashboard) === */
.quick-links-grid {
    display: grid;
    gap: 14px;
}

.quick-links-grid .btn {
    justify-content: flex-start;
}

.quick-link-card {
    background: var(--admin-card-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--admin-card-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.5s ease-out backwards;
}

.quick-link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--admin-primary), var(--admin-neon));
    opacity: 0;
    transition: var(--transition);
}

.quick-link-card:hover {
    transform: translateY(-5px);
    border-color: rgba(var(--admin-primary-rgb), 0.35);
    box-shadow: var(--shadow-lg), 0 0 25px rgba(var(--admin-primary-rgb), 0.1);
}

.quick-link-card:hover::before {
    opacity: 1;
}

/* === ALERT BANNERS === */
.alert-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    gap: 12px;
    animation: fadeInUp 0.5s ease-out backwards;
}

.alert-banner-danger {
    background: rgba(var(--admin-error-rgb), 0.08);
    border: 1px solid rgba(var(--admin-error-rgb), 0.3);
    color: var(--admin-text);
}

.alert-banner-warning {
    background: rgba(var(--admin-warning-rgb), 0.08);
    border: 1px solid rgba(var(--admin-warning-rgb), 0.3);
    color: var(--admin-text);
}

/* === TOAST === */
.toast-container {
    position: fixed;
    bottom: 28px;
    left: 28px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: rgba(17, 24, 39, 0.9);
    backdrop-filter: blur(12px);
    color: var(--admin-text);
    padding: 14px 22px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    transform: translateY(20px);
    opacity: 0;
    animation: slideIn 0.3s forwards;
    border-left: 4px solid var(--admin-accent);
    font-size: 0.88rem;
}

.toast-success { border-left-color: var(--admin-accent); }
.toast-error { border-left-color: var(--admin-error); }
.toast-warning { border-left-color: var(--admin-warning); }

/* ============================================
   RESPONSIVE - MOBILE DRAWER & BOTTOM NAV
   ============================================ */

/* Mobile toggle button (hidden on desktop) */
.mobile-menu-toggle-btn {
    display: none;
    font-size: 1.6rem;
    background: none;
    border: none;
    color: var(--admin-text);
    cursor: pointer;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.mobile-menu-toggle-btn:hover {
    background: rgba(var(--admin-primary-rgb), 0.1);
    color: var(--admin-primary);
}

/* Drawer overlay */
.mobile-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    z-index: 9998;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

/* Bottom nav (hidden on desktop) */
.mobile-bottom-nav {
    display: none;
}

/* === TABLET (max 1024px) === */
@media (max-width: 1024px) {
    .dashboard-columns {
        grid-template-columns: 1fr;
    }
    .admin-content {
        padding: 20px;
    }
}

/* === MOBILE (max 768px) === */
@media (max-width: 768px) {
    .admin-layout {
        flex-direction: column;
    }
    
    .mobile-menu-toggle-btn {
        display: flex;
        margin-right: 10px;
    }
    
    .admin-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 280px;
        transform: translateX(-100%);
        z-index: 9999;
        box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        overflow-y: auto;
        background: linear-gradient(180deg, #0A192F 0%, #060B18 100%) !important;
        border-right: 1.5px solid rgba(0, 240, 255, 0.25) !important;
    }
    
    .admin-sidebar.open {
        transform: translateX(0);
    }
    
    .sidebar-logo {
        height: 60px;
        justify-content: space-between;
        border-bottom: 1px solid rgba(0, 240, 255, 0.15);
    }
    
    .admin-workspace {
        padding-bottom: 72px !important;
    }
    
    .admin-header {
        padding: 0 14px;
        height: 56px;
        background: rgba(10, 25, 47, 0.85);
        border-bottom: 1px solid rgba(0, 240, 255, 0.15);
    }
    
    .page-title h1 {
        font-size: 1.05rem;
    }

    .page-title p {
        display: none;
    }
    
    .admin-content {
        padding: 14px;
    }
    
    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .kpi-card {
        padding: 14px;
    }
    
    .kpi-val {
        font-size: 1.5rem;
    }
    
    .kpi-icon {
        width: 38px;
        height: 38px;
        font-size: 1.2rem;
    }
    
    .kpi-info h3 {
        font-size: 0.65rem;
    }
    
    /* Bottom Navigation Bar - Glassmorphic / Glowing iOS Style */
    .mobile-bottom-nav {
        display: flex;
        justify-content: space-around;
        align-items: center;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 62px;
        background: rgba(10, 25, 47, 0.92) !important;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-top: 1.5px solid rgba(0, 240, 255, 0.25);
        z-index: 9997;
        padding: 4px 0;
        box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
    }
    
    .bottom-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        color: #94A3B8;
        cursor: pointer;
        flex-grow: 1;
        transition: all 0.3s ease;
        text-decoration: none;
        position: relative;
        padding: 4px 0;
    }
    
    .bottom-nav-item::before {
        content: '';
        position: absolute;
        top: -4px;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 3px;
        background: #00F0FF;
        border-radius: var(--radius-full);
        box-shadow: 0 0 10px #00F0FF;
        transition: all 0.3s ease;
    }
    
    .bottom-nav-item.active::before {
        width: 28px;
    }
    
    .bottom-nav-item i {
        font-size: 1.4rem;
        margin-bottom: 2px;
        transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }
    
    .bottom-nav-item span {
        font-size: 0.65rem;
        font-weight: 600;
        font-family: var(--font-body);
        letter-spacing: 0.3px;
    }
    
    .bottom-nav-item.active,
    .bottom-nav-item:hover {
        color: #00F0FF;
    }
    
    .bottom-nav-item.active i {
        transform: translateY(-4px);
        filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.8));
    }
}

/* === SMALL MOBILE (max 480px) === */
@media (max-width: 480px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .admin-header {
        padding: 0 10px;
    }
    
    .admin-card {
        padding: 14px;
    }
    
    .admin-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* ============================================
   PREMIUM ENHANCEMENTS - VIVID & MODERN
   ============================================ */

/* === ANIMATED BACKGROUND ACCENT === */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        #FF5E36, #FFAE33, #00F0FF, #8B5CF6, #FF007F, #FF5E36);
    background-size: 300% 100%;
    animation: gradientSlide 8s linear infinite;
    z-index: 10000;
}

@keyframes gradientSlide {
    0% { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}

/* === VIVID KPI CARDS WITH COLOR TOP BORDERS === */
.kpi-card {
    border-top: 3px solid transparent;
    position: relative;
}

.kpi-card:nth-child(1) { border-image: linear-gradient(135deg, #00F0FF, #0072FF) 1; }
.kpi-card:nth-child(2) { border-image: linear-gradient(135deg, #10B981, #059669) 1; }
.kpi-card:nth-child(3) { border-image: linear-gradient(135deg, #FF5E36, #FFAE33) 1; }
.kpi-card:nth-child(4) { border-image: linear-gradient(135deg, #8B5CF6, #FF007F) 1; }

.kpi-icon {
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
}

.kpi-icon::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.08) 50%, transparent 60%);
    animation: shimmer 3s ease-in-out infinite;
}

/* === VIVID SIDEBAR MENU ICONS === */
.sidebar-menu li.active a i {
    filter: drop-shadow(0 0 6px rgba(var(--admin-primary-rgb), 0.5));
}

.sidebar-menu a:hover i {
    transform: scale(1.15);
    transition: transform 0.2s ease;
}

/* === COLORFUL BADGES === */
.badge-lead { background: linear-gradient(135deg, rgba(156,163,175,0.15), rgba(156,163,175,0.05)); border: 1px solid rgba(156,163,175,0.2); }
.badge-interesado { background: linear-gradient(135deg, rgba(59,130,246,0.15), rgba(59,130,246,0.05)); border: 1px solid rgba(59,130,246,0.2); }
.badge-visita { background: linear-gradient(135deg, rgba(245,158,11,0.15), rgba(245,158,11,0.05)); border: 1px solid rgba(245,158,11,0.2); }
.badge-entrevista { background: linear-gradient(135deg, rgba(236,72,153,0.15), rgba(236,72,153,0.05)); border: 1px solid rgba(236,72,153,0.2); }
.badge-examen { background: linear-gradient(135deg, rgba(139,92,246,0.15), rgba(139,92,246,0.05)); border: 1px solid rgba(139,92,246,0.2); }
.badge-aceptado { background: linear-gradient(135deg, rgba(16,185,129,0.15), rgba(16,185,129,0.05)); border: 1px solid rgba(16,185,129,0.2); }
.badge-inscripcion { background: linear-gradient(135deg, rgba(20,184,166,0.15), rgba(20,184,166,0.05)); border: 1px solid rgba(20,184,166,0.2); }
.badge-estudiante { background: linear-gradient(135deg, rgba(239,68,68,0.15), rgba(239,68,68,0.05)); border: 1px solid rgba(239,68,68,0.2); }

/* === FULLY RESPONSIVE TABLES === */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-sm);
    border: 1px solid var(--admin-card-border);
}

.admin-table {
    min-width: 600px;
}

.admin-table th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(8px);
}

.admin-table tbody tr {
    animation: fadeInUp 0.3s ease-out backwards;
}

.admin-table tbody tr:nth-child(1) { animation-delay: 0.02s; }
.admin-table tbody tr:nth-child(2) { animation-delay: 0.04s; }
.admin-table tbody tr:nth-child(3) { animation-delay: 0.06s; }
.admin-table tbody tr:nth-child(4) { animation-delay: 0.08s; }
.admin-table tbody tr:nth-child(5) { animation-delay: 0.1s; }

.admin-table tbody tr:hover {
    background: rgba(var(--admin-primary-rgb), 0.06);
    box-shadow: inset 3px 0 0 var(--admin-primary);
}

/* Mobile card-style tables */
@media (max-width: 768px) {
    .table-responsive {
        border: none;
    }
    
    .admin-table {
        min-width: unset;
    }
    
    .admin-table thead {
        display: none;
    }
    
    .admin-table tbody tr {
        display: block;
        background: var(--admin-card-bg);
        border: 1px solid var(--admin-card-border);
        border-radius: var(--radius-sm);
        padding: 14px;
        margin-bottom: 10px;
        box-shadow: var(--shadow-sm);
    }
    
    .admin-table tbody tr:hover {
        box-shadow: var(--shadow-md), inset 0 0 0 1px rgba(var(--admin-primary-rgb), 0.2);
    }
    
    .admin-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 6px 0;
        border-bottom: 1px solid rgba(55,65,81,0.2);
        font-size: 0.85rem;
    }
    
    .admin-table td:last-child {
        border-bottom: none;
    }
    
    .admin-table td::before {
        content: attr(data-label);
        font-weight: 600;
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: var(--admin-text-muted);
        flex-shrink: 0;
        margin-right: 12px;
    }
}

/* === RESPONSIVE FORM LAYOUTS === */
.form-row,
.admin-form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.admin-form-group {
    animation: fadeInUp 0.3s ease-out backwards;
}

.admin-form-control {
    transition: var(--transition);
}

.admin-form-control:hover {
    border-color: rgba(var(--admin-primary-rgb), 0.3);
}

select.admin-form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239CA3AF' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}

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

@media (max-width: 768px) {
    .form-row,
    .admin-form-row {
        grid-template-columns: 1fr;
    }
    
    .admin-form-group label {
        font-size: 0.78rem;
    }
    
    .admin-form-control {
        padding: 10px 12px;
        font-size: 16px; /* prevents iOS zoom */
    }
}

/* === COLORFUL ADMIN CARD ACCENTS === */
.admin-card {
    position: relative;
    overflow: hidden;
}

.admin-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--admin-primary), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.admin-card:hover::before {
    opacity: 1;
}

/* === ANIMATED CHART CONTAINERS === */
.admin-card canvas {
    animation: fadeIn 0.8s ease-out;
}

/* === VIVID BUTTON ENHANCEMENTS === */
.btn-primary {
    background: linear-gradient(135deg, #00B4D8, #0077B6);
    box-shadow: 0 2px 12px rgba(0, 180, 216, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    box-shadow: 0 4px 20px rgba(0, 180, 216, 0.45);
    transform: translateY(-2px);
}

/* Color variants for buttons */
.btn-success {
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
    border: none;
    box-shadow: 0 2px 12px rgba(16, 185, 129, 0.3);
}

.btn-danger {
    background: linear-gradient(135deg, #EF4444, #DC2626);
    color: white;
    border: none;
    box-shadow: 0 2px 12px rgba(239, 68, 68, 0.3);
}

.btn-warning {
    background: linear-gradient(135deg, #F59E0B, #D97706);
    color: white;
    border: none;
    box-shadow: 0 2px 12px rgba(245, 158, 11, 0.3);
}

.btn-purple {
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
    color: white;
    border: none;
    box-shadow: 0 2px 12px rgba(139, 92, 246, 0.3);
}

/* === ENHANCED ALERT BANNERS === */
.alert-banner {
    position: relative;
    overflow: hidden;
}

.alert-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    border-radius: 4px 0 0 4px;
}

.alert-banner-danger::before {
    background: linear-gradient(180deg, #EF4444, #DC2626);
}

.alert-banner-warning::before {
    background: linear-gradient(180deg, #F59E0B, #D97706);
}

.alert-banner-success {
    background: rgba(var(--admin-accent-rgb), 0.08);
    border: 1px solid rgba(var(--admin-accent-rgb), 0.3);
    color: var(--admin-text);
}

.alert-banner-success::before {
    background: linear-gradient(180deg, #10B981, #059669);
}

/* === LOADING SKELETON ANIMATION === */
.skeleton {
    background: linear-gradient(90deg, 
        rgba(55,65,81,0.3) 25%, 
        rgba(55,65,81,0.5) 50%, 
        rgba(55,65,81,0.3) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-sm);
}

/* === TABS ENHANCEMENTS === */
.tabs-container {
    position: relative;
    gap: 4px;
    background: rgba(15, 23, 42, 0.3);
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    padding: 4px 4px 0;
    border-bottom: none;
}

.tab-btn {
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    position: relative;
}

.tab-btn.active {
    background: var(--admin-card-bg);
    color: var(--admin-primary);
    border-bottom: 2px solid var(--admin-primary);
    font-weight: 600;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: var(--admin-primary);
    border-radius: var(--radius-full);
    transition: transform 0.3s ease;
}

.tab-btn:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.tab-btn.active::after {
    transform: translateX(-50%) scaleX(1);
    width: 80%;
}

@media (max-width: 768px) {
    .tabs-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .tabs-container::-webkit-scrollbar {
        display: none;
    }
    
    .tab-btn {
        padding: 10px 14px;
        font-size: 0.8rem;
        flex-shrink: 0;
    }
}

/* === SIDEBAR GRADIENT ACCENT LINE (top) === */
.admin-sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #FF5E36, #FFAE33, #00F0FF, #8B5CF6);
    z-index: 1;
}

/* === PIPELINE CARDS COLORFUL BORDERS === */
.pipeline-column:nth-child(1) .pipeline-column-header { border-bottom-color: #9CA3AF; }
.pipeline-column:nth-child(2) .pipeline-column-header { border-bottom-color: #3B82F6; }
.pipeline-column:nth-child(3) .pipeline-column-header { border-bottom-color: #F59E0B; }
.pipeline-column:nth-child(4) .pipeline-column-header { border-bottom-color: #EC4899; }
.pipeline-column:nth-child(5) .pipeline-column-header { border-bottom-color: #8B5CF6; }
.pipeline-column:nth-child(6) .pipeline-column-header { border-bottom-color: #10B981; }
.pipeline-column:nth-child(7) .pipeline-column-header { border-bottom-color: #14B8A6; }
.pipeline-column:nth-child(8) .pipeline-column-header { border-bottom-color: #EF4444; }

/* === NOTIFICATION BADGE PULSE === */
.header-notification::after {
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.7; }
}

/* === STAGGER ANIMATIONS FOR CONTENT === */
.admin-content > * {
    animation: fadeInUp 0.4s ease-out backwards;
}

.admin-content > *:nth-child(1) { animation-delay: 0.05s; }
.admin-content > *:nth-child(2) { animation-delay: 0.1s; }
.admin-content > *:nth-child(3) { animation-delay: 0.15s; }
.admin-content > *:nth-child(4) { animation-delay: 0.2s; }
.admin-content > *:nth-child(5) { animation-delay: 0.25s; }

/* === HOVER GLOW ON INTERACTIVE ELEMENTS === */
.btn-icon:hover {
    box-shadow: 0 0 12px rgba(var(--admin-primary-rgb), 0.3);
}

/* === STATUS DOT FOR PROFILE === */
.sidebar-footer .user-profile-info p i {
    animation: pulse-dot 3s ease-in-out infinite;
}

/* === SCROLLBAR FOR SIDEBAR === */
.admin-sidebar::-webkit-scrollbar {
    width: 3px;
}
.admin-sidebar::-webkit-scrollbar-thumb {
    background: rgba(var(--admin-primary-rgb), 0.2);
    border-radius: var(--radius-full);
}

/* === PRINT STYLES === */
@media print {
    .admin-sidebar,
    .admin-header,
    .mobile-bottom-nav,
    .mobile-drawer-overlay,
    .mobile-menu-toggle-btn,
    body::before {
        display: none !important;
    }
    
    .admin-workspace {
        padding-bottom: 0 !important;
    }
    
    .admin-content {
        padding: 0;
    }
    
    .admin-card {
        box-shadow: none;
        border: 1px solid #ddd;
        break-inside: avoid;
    }
}
