/* ============================================
   Soulution Seekers — Task Management System
   COMPLETE STYLESHEET — Replace entire file
   ============================================ */

:root {
    --bg-primary: #0b1121;
    --bg-card: #111827;
    --bg-card-hover: #162032;
    --bg-input: #0d1424;
    --border: #1e2d45;
    --border-light: #243352;
    --text-primary: #e8edf5;
    --text-secondary: #8493ab;
    --text-muted: #4a5568;
    --accent: #00e5a0;
    --accent-dark: #00c98b;
    --accent-glow: rgba(0,229,160,0.15);
    --info: #00d2ff;
    --warning: #ffb020;
    --danger: #ff4757;
    --purple: #a855f7;
    --success: #2ed573;
    --sidebar-width: 260px;
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --shadow: 0 4px 24px rgba(0,0,0,0.3);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.4);
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'DM Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-dark); }
img { max-width: 100%; display: block; }
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 3px; }
::selection { background: rgba(0,229,160,0.25); color: var(--accent); }

/* ==================== LOGIN ==================== */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 20px;
}
.login-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: orbFloat 12s ease-in-out infinite;
}
.orb-1 { width: 400px; height: 400px; background: radial-gradient(circle, var(--accent) 0%, transparent 70%); top: -10%; left: -5%; }
.orb-2 { width: 350px; height: 350px; background: radial-gradient(circle, var(--info) 0%, transparent 70%); bottom: -15%; right: -5%; animation-delay: -4s; animation-duration: 15s; }
.orb-3 { width: 250px; height: 250px; background: radial-gradient(circle, var(--purple) 0%, transparent 70%); top: 50%; left: 60%; animation-delay: -8s; animation-duration: 18s; }
@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(40px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(30px, 40px) scale(1.02); }
}
.login-card {
    position: relative; z-index: 1;
    background: rgba(17,24,39,0.85);
    backdrop-filter: blur(24px);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    width: 100%; max-width: 420px;
    box-shadow: var(--shadow-lg);
    animation: cardReveal 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes cardReveal {
    from { opacity: 0; transform: translateY(30px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.login-brand { text-align: center; margin-bottom: 36px; }
.login-brand h1 { font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--accent); letter-spacing: -0.5px; margin-bottom: 4px; }
.login-brand p { font-size: 13px; color: var(--text-muted); letter-spacing: 2px; text-transform: uppercase; }

/* ==================== SIDEBAR ==================== */
.sidebar {
    position: fixed; top: 0; left: 0;
    width: var(--sidebar-width); height: 100vh;
    background: var(--bg-card);
    border-right: 1px solid var(--border);
    display: flex; flex-direction: column;
    z-index: 100;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto; overflow-x: hidden;
}
.sidebar-brand {
    padding: 24px 20px 20px;
    border-bottom: 1px solid var(--border);
    position: relative;
}
.sidebar-brand h2 { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--accent); letter-spacing: -0.3px; }
.sidebar-brand span { font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 2px; display: block; margin-top: 2px; }
.sidebar-nav { flex: 1; padding: 16px 12px; }
.nav-section { font-size: 10px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1.5px; padding: 12px 12px 6px; }
.sidebar-nav a {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 14px; border-radius: var(--radius-sm);
    font-size: 13.5px; font-weight: 500; color: var(--text-secondary);
    transition: all var(--transition); margin-bottom: 2px;
    position: relative; overflow: hidden;
}
.sidebar-nav a::before {
    content: ''; position: absolute; left: 0; top: 0;
    width: 3px; height: 100%; background: var(--accent);
    border-radius: 0 3px 3px 0; transform: scaleY(0);
    transition: transform var(--transition);
}
.sidebar-nav a i { width: 20px; text-align: center; font-size: 14px; transition: color var(--transition); }
.sidebar-nav a:hover { color: var(--text-primary); background: rgba(0,229,160,0.05); }
.sidebar-nav a:hover i { color: var(--accent); }
.sidebar-nav a.active { color: var(--accent); background: var(--accent-glow); }
.sidebar-nav a.active::before { transform: scaleY(1); }
.sidebar-nav a.active i { color: var(--accent); }
.sidebar-user { padding: 16px 20px; border-top: 1px solid var(--border); display: flex; align-items: center; gap: 12px; }
.mobile-toggle {
    display: none; position: fixed; top: 16px; left: 16px;
    width: 42px; height: 42px; border-radius: var(--radius-sm);
    background: var(--bg-card); border: 1px solid var(--border);
    color: var(--text-primary); font-size: 16px; cursor: pointer;
    z-index: 200; transition: all var(--transition);
}
.mobile-toggle:hover { border-color: var(--accent); color: var(--accent); }
.sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 90; backdrop-filter: blur(4px); }

/* ==================== NOTIFICATION BELL ==================== */
.sidebar-notif {
    position: absolute; top: 18px; right: 14px;
    width: 34px; height: 34px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 8px; color: var(--text-secondary);
    font-size: 15px; text-decoration: none; transition: all 0.25s;
}
.sidebar-notif:hover { color: var(--accent); background: var(--accent-glow); }
.notif-badge {
    position: absolute; top: -4px; right: -4px;
    min-width: 18px; height: 18px;
    background: var(--danger); color: #fff;
    font-size: 10px; font-family: var(--font-display);
    font-weight: 700; border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    padding: 0 4px;
    animation: urgentPulse 1.5s ease-in-out infinite;
}

/* ==================== MAIN CONTENT ==================== */
.main-content { margin-left: var(--sidebar-width); min-height: 100vh; position: relative; }
.main-content::before {
    content: ''; position: fixed; inset: 0;
    background-image:
        linear-gradient(rgba(30,45,69,0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30,45,69,0.15) 1px, transparent 1px);
    background-size: 60px 60px; pointer-events: none; z-index: 0;
}
.main-content::after {
    content: ''; position: fixed; top: -200px; right: -100px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(0,229,160,0.06) 0%, transparent 70%);
    pointer-events: none; z-index: 0;
}
.content-wrapper { position: relative; z-index: 1; padding: 32px 36px 60px; max-width: 1400px; }

/* ==================== PAGE HEADER ==================== */
.page-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; flex-wrap: wrap; gap: 16px; }
.page-header h1 { font-family: var(--font-display); font-size: 26px; font-weight: 700; letter-spacing: -0.5px; }
.page-header p { font-size: 14px; color: var(--text-secondary); margin-top: 2px; }

/* ==================== CARDS ==================== */
.card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 24px;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.card:hover { border-color: var(--border-light); }

/* ==================== STAT CARDS ==================== */
.stat-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 22px;
    position: relative; overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.stat-card:hover { transform: translateY(-4px); border-color: var(--border-light); box-shadow: 0 12px 32px rgba(0,0,0,0.25); }
.stat-icon { width: 44px; height: 44px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 18px; margin-bottom: 16px; }
.stat-value { font-family: var(--font-display); font-size: 32px; font-weight: 700; line-height: 1; margin-bottom: 4px; }
.stat-label { font-size: 13px; color: var(--text-secondary); }
.stat-bg-icon { position: absolute; right: -8px; bottom: -8px; font-size: 72px; opacity: 0.04; transition: opacity var(--transition); }
.stat-card:hover .stat-bg-icon { opacity: 0.08; }

/* ==================== GRIDS ==================== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 20px; border-radius: var(--radius-sm);
    font-family: var(--font-body); font-size: 13.5px; font-weight: 600;
    border: 1px solid transparent; cursor: pointer;
    transition: all var(--transition); white-space: nowrap;
    text-decoration: none; position: relative; overflow: hidden;
}
.btn::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%); opacity: 0; transition: opacity var(--transition); }
.btn:hover::after { opacity: 1; }
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--accent); color: var(--bg-primary); border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--bg-primary); box-shadow: 0 0 20px rgba(0,229,160,0.25); }
.btn-secondary { background: transparent; color: var(--text-secondary); border-color: var(--border); }
.btn-secondary:hover { color: var(--text-primary); border-color: var(--border-light); background: var(--bg-card-hover); }
.btn-danger { background: var(--danger); color: #fff; border-color: var(--danger); }
.btn-danger:hover { background: #e8384f; box-shadow: 0 0 20px rgba(255,71,87,0.25); }
.btn-warning { background: var(--warning); color: var(--bg-primary); border-color: var(--warning); }
.btn-warning:hover { box-shadow: 0 0 20px rgba(255,176,32,0.25); }
.btn-sm { padding: 6px 14px; font-size: 12.5px; }
.btn-lg { padding: 14px 28px; font-size: 15px; }
.w-full { width: 100%; }

/* ==================== FORMS ==================== */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text-secondary); margin-bottom: 6px; }
.form-control {
    width: 100%; padding: 10px 14px;
    background: var(--bg-input); border: 1px solid var(--border);
    border-radius: var(--radius-sm); color: var(--text-primary);
    font-family: var(--font-body); font-size: 14px;
    transition: all var(--transition); outline: none;
}
.form-control:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.form-control::placeholder { color: var(--text-muted); }
textarea.form-control { min-height: 100px; resize: vertical; line-height: 1.6; }
select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%234a5568' viewBox='0 0 16 16'%3E%3Cpath d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center;
    padding-right: 36px; cursor: pointer;
}
.search-box { position: relative; display: flex; align-items: center; }
.search-box i { position: absolute; left: 14px; color: var(--text-muted); font-size: 13px; pointer-events: none; }
.search-box .form-control { padding-left: 38px; }

/* ==================== BADGES ==================== */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 6px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.2px; border: 1px solid; }
.badge-pending { background: rgba(255,176,32,0.1); color: var(--warning); border-color: rgba(255,176,32,0.2); }
.badge-in_progress { background: rgba(0,210,255,0.1); color: var(--info); border-color: rgba(0,210,255,0.2); }
.badge-completed { background: rgba(168,85,247,0.1); color: var(--purple); border-color: rgba(168,85,247,0.2); }
.badge-approved { background: rgba(0,229,160,0.1); color: var(--accent); border-color: rgba(0,229,160,0.2); }
.badge-rejected { background: rgba(255,71,87,0.1); color: var(--danger); border-color: rgba(255,71,87,0.2); }
.badge-low { background: rgba(74,85,104,0.15); color: var(--text-secondary); border-color: rgba(74,85,104,0.2); }
.badge-medium { background: rgba(0,210,255,0.1); color: var(--info); border-color: rgba(0,210,255,0.2); }
.badge-high { background: rgba(255,176,32,0.1); color: var(--warning); border-color: rgba(255,176,32,0.2); }
.badge-urgent { background: rgba(255,71,87,0.1); color: var(--danger); border-color: rgba(255,71,87,0.2); }

/* ==================== PRIORITY DOTS ==================== */
.priority-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; }
.priority-dot.low { background: var(--text-muted); }
.priority-dot.medium { background: var(--info); }
.priority-dot.high { background: var(--warning); }
.priority-dot.urgent { background: var(--danger); animation: urgentPulse 1.5s ease-in-out infinite; }
@keyframes urgentPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,71,87,0.4); }
    50% { box-shadow: 0 0 0 5px rgba(255,71,87,0); }
}

/* ==================== AVATAR ==================== */
.avatar {
    width: 36px; height: 36px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-size: 13px; font-weight: 700;
    color: var(--bg-primary); flex-shrink: 0;
}
.avatar-sm { width: 28px; height: 28px; border-radius: 8px; font-size: 10px; }
.avatar-lg { width: 64px; height: 64px; border-radius: 16px; font-size: 22px; }
.user-info .name { font-size: 13.5px; font-weight: 600; }
.user-info .role { font-size: 11px; color: var(--text-muted); }

/* ==================== TABLE ==================== */
.table-wrapper { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
thead { background: rgba(0,0,0,0.2); }
th { padding: 12px 16px; text-align: left; font-size: 11px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; white-space: nowrap; }
td { padding: 14px 16px; border-top: 1px solid var(--border); vertical-align: middle; }
tbody tr { transition: background var(--transition); }
tbody tr:hover { background: var(--bg-card-hover); }

/* ==================== TASK CARDS ==================== */
.task-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 20px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex; flex-direction: column; height: 100%;
}
.task-card:hover { transform: translateY(-6px); border-color: var(--border-light); box-shadow: 0 16px 40px rgba(0,0,0,0.3); }
.task-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.task-title { font-size: 15px; font-weight: 700; margin-bottom: 8px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.task-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 16px; flex: 1; }
.task-meta { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.task-assignee { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-secondary); }
.task-due { font-size: 11.5px; color: var(--text-muted); display: flex; align-items: center; gap: 4px; }
.task-due.overdue { color: var(--danger); font-weight: 600; }

/* ==================== FILTER TABS ==================== */
.filter-tabs { display: flex; gap: 4px; flex-wrap: wrap; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 4px; }
.filter-tab {
    padding: 7px 14px; border-radius: 6px; font-size: 12.5px; font-weight: 600;
    color: var(--text-secondary); background: transparent; border: none;
    cursor: pointer; transition: all var(--transition); white-space: nowrap;
    text-decoration: none; display: inline-block;
}
.filter-tab:hover { color: var(--text-primary); background: rgba(0,229,160,0.05); }
.filter-tab.active { color: var(--accent); background: var(--accent-glow); }

/* ==================== PROGRESS ==================== */
.progress-bar { height: 8px; background: rgba(0,0,0,0.3); border-radius: 4px; overflow: hidden; }
.progress-fill { height: 100%; border-radius: 4px; transition: width 1s cubic-bezier(0.4, 0, 0.2, 1); background: var(--accent); }
.progress-ring circle:last-child {
    stroke-dasharray: 364.42; stroke-dashoffset: 364.42;
    transition: stroke-dashoffset 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center; transform: rotate(-90deg);
}

/* ==================== TIMELINE ==================== */
.timeline { position: relative; padding-left: 20px; }
.timeline::before { content: ''; position: absolute; left: 5px; top: 4px; bottom: 4px; width: 2px; background: var(--border); border-radius: 1px; }
.timeline-item { position: relative; padding-bottom: 18px; animation: fadeSlideIn 0.4s ease both; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
    content: ''; position: absolute; left: -18px; top: 6px;
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--accent); border: 2px solid var(--bg-card);
    box-shadow: 0 0 0 2px var(--accent-glow);
}
.timeline-content { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }
.timeline-content strong { color: var(--text-primary); }
.timeline-time { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

/* ==================== USER CARDS ==================== */
.user-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 24px; text-align: center;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.user-card:hover { transform: translateY(-4px); border-color: var(--border-light); box-shadow: 0 12px 32px rgba(0,0,0,0.25); }
.user-name { font-size: 16px; font-weight: 700; margin-top: 14px; margin-bottom: 2px; }
.user-email { font-size: 12px; color: var(--text-muted); margin-bottom: 10px; word-break: break-all; }
.user-team { font-size: 12px; color: var(--text-secondary); margin-bottom: 16px; }

/* ==================== TEAM CARDS ==================== */
.team-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 24px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative; overflow: hidden;
}
.team-card:hover { transform: translateY(-4px); border-color: var(--border-light); box-shadow: 0 12px 32px rgba(0,0,0,0.25); }
.team-accent { position: absolute; top: 0; left: 0; right: 0; height: 3px; }

/* ==================== DETAIL ROWS ==================== */
.detail-row { display: flex; justify-content: space-between; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--border); }
.detail-row:last-child { border-bottom: none; }
.detail-label { font-size: 12px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.detail-value { font-size: 14px; font-weight: 500; text-align: right; }

/* ==================== PROFILE ==================== */
.profile-header-card { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.profile-stats { display: flex; gap: 24px; margin-top: 12px; }
.profile-stat { text-align: center; }
.profile-stat .val { font-family: var(--font-display); font-size: 22px; font-weight: 700; }
.profile-stat .lbl { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }

/* ==================== TOASTS ==================== */
.toast-container { position: fixed; top: 20px; right: 20px; z-index: 9999; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.toast {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 20px; background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); box-shadow: var(--shadow-lg);
    font-size: 13.5px; font-weight: 500; min-width: 300px; max-width: 420px;
    pointer-events: auto; animation: toastIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
    backdrop-filter: blur(12px);
}
.toast.toast-out { animation: toastOut 0.35s ease both; }
.toast-success { border-left: 3px solid var(--accent); }
.toast-success i { color: var(--accent); }
.toast-error { border-left: 3px solid var(--danger); }
.toast-error i { color: var(--danger); }
.toast-info { border-left: 3px solid var(--info); }
.toast-info i { color: var(--info); }
.toast-warning { border-left: 3px solid var(--warning); }
.toast-warning i { color: var(--warning); }
@keyframes toastIn { from { opacity: 0; transform: translateX(40px) scale(0.95); } to { opacity: 1; transform: translateX(0) scale(1); } }
@keyframes toastOut { from { opacity: 1; transform: translateX(0) scale(1); } to { opacity: 0; transform: translateX(40px) scale(0.95); } }

/* ==================== MODAL ==================== */
.modal-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.7);
    backdrop-filter: blur(6px); z-index: 1000;
    display: flex; align-items: center; justify-content: center;
    padding: 20px; animation: fadeIn 0.25s ease both;
}
.modal {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-xl); padding: 32px;
    width: 100%; max-width: 480px; box-shadow: var(--shadow-lg);
    animation: modalIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.modal h3 { font-family: var(--font-display); font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.modal p { font-size: 14px; color: var(--text-secondary); margin-bottom: 20px; }
.modal .modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 24px; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(20px) scale(0.95); } to { opacity: 1; transform: translateY(0) scale(1); } }

/* ==================== EMPTY STATE ==================== */
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.empty-state i { font-size: 48px; margin-bottom: 16px; opacity: 0.3; }
.empty-state h3 { font-size: 18px; font-weight: 600; color: var(--text-secondary); margin-bottom: 6px; }
.empty-state p { font-size: 14px; }

/* ==================== FIELD ERROR ==================== */
.field-error { font-size: 11px; color: var(--danger); margin-top: 4px; }

/* ==================== ANIMATIONS ==================== */
@keyframes fadeSlideIn { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: translateX(0); } }
@keyframes animFadeUp { to { opacity: 1; transform: translateY(0); } }
.anim-fade-up { opacity: 0; transform: translateY(20px); animation: animFadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both; }
.anim-slide-right { opacity: 0; transform: translateX(20px); animation: animSlideRight 0.6s cubic-bezier(0.16, 1, 0.3, 1) both; }
@keyframes animSlideRight { to { opacity: 1; transform: translateX(0); } }
.anim-scale-in { opacity: 0; transform: scale(0.9); animation: animScaleIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) both; }
@keyframes animScaleIn { to { opacity: 1; transform: scale(1); } }
.stagger-1 { animation-delay: 0.08s; }
.stagger-2 { animation-delay: 0.16s; }
.stagger-3 { animation-delay: 0.24s; }
.stagger-4 { animation-delay: 0.32s; }
.stagger-5 { animation-delay: 0.40s; }
.stagger-6 { animation-delay: 0.48s; }
.stagger-7 { animation-delay: 0.56s; }
.stagger-8 { animation-delay: 0.64s; }
@keyframes pulseGlow { 0%, 100% { box-shadow: 0 0 0 0 rgba(0,229,160,0.3); } 50% { box-shadow: 0 0 0 8px rgba(0,229,160,0); } }

/* ==================== UTILITIES ==================== */
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-1 { flex: 1; }
.flex-wrap { flex-wrap: wrap; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 20px; }
.mt-4 { margin-top: 20px; }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-danger { color: var(--danger); }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1200px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
    .sidebar { transform: translateX(-100%); }
    .sidebar.open { transform: translateX(0); }
    .sidebar-overlay.open { display: block; }
    .mobile-toggle { display: flex; align-items: center; justify-content: center; }
    .main-content { margin-left: 0; }
    .content-wrapper { padding: 24px 20px 60px; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    [style*="grid-template-columns:1fr 360px"],
    [style*="grid-template-columns:1fr 340px"],
    [style*="grid-template-columns:1fr 380px"],
    [style*="grid-template-columns:320px 1fr"],
    [style*="grid-template-columns:1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
}
@media (max-width: 640px) {
    .page-header { flex-direction: column; align-items: flex-start; }
    .page-header h1 { font-size: 22px; }
    .filter-tabs { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
    .filter-tab { flex-shrink: 0; }
    .stat-card .stat-value { font-size: 26px; }
    .login-card { padding: 32px 24px; }
    .card { padding: 18px; }
    .profile-header-card { flex-direction: column; text-align: center; }
    .profile-stats { justify-content: center; }
}
@media print {
    .sidebar, .mobile-toggle, .sidebar-overlay, .btn, .filter-tabs, .toast-container { display: none !important; }
    .main-content { margin-left: 0; }
    .content-wrapper { padding: 0; }
    body { background: #fff; color: #000; }
    .card { border: 1px solid #ddd; box-shadow: none; }
}
/* ============================
   ATTENDANCE DASHBOARD WIDGET
   ==================== */
.att-widget {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.25s;
    text-decoration: none;
    margin-bottom: 20px;
}
.att-widget:hover {
    border-color: var(--border-light);
    background: var(--bg-card-hover);
    transform: translateX(4px);
}
.att-widget-icon {
    width: 42px; height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.att-widget-icon.present {
    background: rgba(0,229,160,0.15);
    color: var(--accent);
}
.att-widget-icon.absent {
    background: rgba(255,71,87,0.15);
    color: var(--danger);
}
.att-widget-text {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-primary);
}
.att-widget-sub {
    font-size: 11px;
    color: var(--text-muted);
}

@media (max-width: 640px) {
    .att-widget { flex-direction: column; text-align: center; }
}