/* 🦄 SMARTCLASS SESSIONS PREMIUM (V9.0)
   Aligns with Design Constitution V3.0
   Optimized for "Duolingo for Latam" UX.
*/

:root {
    /* Fallbacks if not globally defined */
    --sc-blue: #1CB0F6;
    --sc-blue-shadow: #1899D6;
    --sc-green: #58CC02;
    --sc-green-shadow: #46A302;
    --sc-slate-50: #f8fafc;
    --sc-slate-100: #f1f5f9;
    --sc-slate-200: #e2e8f0;
    --sc-slate-400: #94a3b8;
    --sc-slate-500: #64748b;
    --sc-slate-700: #334155;
    --sc-slate-800: #1e293b;

    /* Essential Layout Tokens (V5) */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 24px;
    --space-6: 32px;
    --space-8: 48px;

    /* Border Radii */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-pill: 9999px;

    /* Shadows & Animation */
    --elevation-1: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --elevation-2: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --duration-fast: 150ms;
    --duration-normal: 300ms;
    --ease-out: cubic-bezier(0.4, 0, 0.2, 1);

    --font-heading: 'Manrope', sans-serif;
    --font-body: 'Nunito', sans-serif;
}

.sessions-real-content {
    display: none;
    opacity: 0;
    transition: opacity var(--duration-normal) var(--ease-out);
}

.sessions-main-card {
    min-height: 600px;
}

.admin-card.sessions-main-card {
    padding: var(--space-6) !important;
    border-radius: var(--radius-xl) !important;
    background: white;
    box-shadow: var(--elevation-1);
    border: 1px solid var(--sc-slate-200);
}

/* 👑 PREMIUM PAGE HEADER */
.sessions-page-header.card-premium {
    background: var(--sc-surface-0, #ffffff);
    border: 1px solid var(--sc-border, #E2E8F0);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.05);
    /* Soft, elegant shadow */
}

.sessions-page-header__content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.sessions-page-header__icon-wrapper {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(28, 176, 246, 0.1) 0%, rgba(28, 176, 246, 0.05) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sessions-page-header__icon-wrapper i {
    font-size: 28px;
    color: var(--sc-primary, #1CB0F6);
}

.sessions-page-header__text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sessions-page-header__title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--sc-text-primary, #1F2937);
    letter-spacing: -0.02em;
}

.sessions-page-header__subtitle {
    margin: 0;
    font-size: 0.875rem;
    color: var(--sc-text-secondary, #6B7280);
    line-height: 1.4;
}

/* 🔍 CONTROLS BAR */
.controls-row-1 {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    margin-bottom: var(--space-5);
}

.premium-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.premium-input-group i {
    position: absolute;
    left: 16px;
    color: #94a3b8;
    font-size: 18px;
    pointer-events: none;
    z-index: 1;
}

.premium-input-group .premium-input,
.premium-input-group input,
.premium-input-group select {
    width: 100%;
    height: 44px;
    padding: 0 16px 0 44px !important;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
    font-family: 'Nunito', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-appearance: none;
    appearance: none;
}

.premium-input-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px !important;
}

.premium-input-group .premium-input:focus,
.premium-input-group input:focus,
.premium-input-group select:focus {
    border-color: #1CB0F6;
    background: white;
    outline: none;
    box-shadow: 0 0 0 4px rgba(28, 176, 246, 0.1);
}

.search-group {
    flex: 2;
    min-width: 250px;
}

.filter-group {
    flex: 1;
    min-width: 150px;
}

.controls-row-2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.month-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
}

.current-month-label {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 800;
    color: var(--sc-slate-800);
    min-width: 130px;
    text-align: center;
}

.view-toggle-container {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.history-toggle-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sc-checkbox-label {
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    user-select: none;
}

/* 🔘 PREMIUM TABS BAR */
.premium-tabs-bar {
    display: flex;
    gap: 4px;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 12px;
    margin-bottom: 24px;
}

.premium-tabs-bar .tab-btn {
    flex: 1;
    height: 44px;
    border-radius: 10px;
    background: transparent;
    border: none;
    font-weight: 700;
    font-size: 14px;
    color: #64748b;
    cursor: pointer;
    transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.premium-tabs-bar .tab-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.5);
    color: #334155;
}

.premium-tabs-bar .tab-btn.active {
    background: white;
    color: #1CB0F6;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    font-weight: 800;
}

/* ◀▶ NAV & VIEW BUTTONS */
.nav-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: white;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 16px;
}

.nav-btn:hover {
    background: #f8fafc;
    border-color: #1CB0F6;
    color: #1CB0F6;
}

.nav-btn:active {
    transform: scale(0.92);
}

.today-btn {
    padding: 6px 16px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: white;
    color: #64748b;
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.today-btn:hover {
    background: rgba(28, 176, 246, 0.06);
    border-color: #1CB0F6;
    color: #1CB0F6;
}

.cal-view-btn {
    padding: 6px 14px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: white;
    color: #64748b;
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.cal-view-btn.active {
    background: rgba(28, 176, 246, 0.08);
    border-color: #1CB0F6;
    color: #1CB0F6;
    font-weight: 800;
}

.cal-view-btn:hover:not(.active) {
    background: #f8fafc;
}

/* 🗓️ CALENDAR GRID — Jony Ive Premium */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    background: #f1f5f9;
    padding: 6px;
    border-radius: 16px;
}

.calendar-header-cell {
    text-align: center;
    padding: 12px 0 8px;
    font-family: 'Manrope', sans-serif;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #64748b;
}

.calendar-day {
    min-height: 120px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.calendar-day:hover {
    background: #fafbfd;
    box-shadow: 0 2px 8px -2px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.calendar-day.today {
    background: rgba(28, 176, 246, 0.04);
    border: 2px solid #1CB0F6;
    box-shadow: 0 0 0 4px rgba(28, 176, 246, 0.08);
}

.calendar-day.other-month {
    background: #f8fafc;
    opacity: 0.4;
    border-color: transparent;
}

.day-number {
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 800;
    color: #94a3b8;
    margin-bottom: 4px;
    padding-left: 2px;
}

.calendar-day.today .day-number {
    color: #1CB0F6;
    font-weight: 900;
}

/* 💊 SESSION PILLS — Colorful & Distinct */
.session-pill-premium {
    padding: 6px 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 2px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    /* border-left is set inline via JS for cohort color */
}

.session-pill-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.12);
    filter: brightness(0.97);
}

.session-pill-premium:active {
    transform: scale(0.96);
}

.session-pill-premium.completed {
    opacity: 0.7;
}

.session-time {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: 'Manrope', sans-serif;
    font-size: 10px;
    font-weight: 900;
}

.session-time i {
    font-size: 12px;
}

.session-cohort-name {
    font-family: 'Nunito', sans-serif;
    font-size: 9px;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    opacity: 0.85;
}

.more-sessions {
    font-size: 10px;
    font-weight: 900;
    color: #1CB0F6;
    text-align: center;
    margin-top: 4px;
    padding: 3px 0;
    background: rgba(28, 176, 246, 0.06);
    border-radius: 6px;
    cursor: pointer;
}

.more-sessions:hover {
    background: rgba(28, 176, 246, 0.12);
}

/* 📊 LIST VIEW */
.premium-table-container {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--sc-slate-200);
    overflow: hidden;
    box-shadow: var(--elevation-1);
}

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

.premium-table th {
    background: var(--sc-slate-50);
    padding: var(--space-3) var(--space-4);
    text-align: left;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    color: var(--sc-slate-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--sc-slate-200);
}

.premium-row {
    border-bottom: 1px solid var(--sc-slate-100);
    transition: all var(--duration-fast) var(--ease-out);
    cursor: pointer;
}

.premium-row:hover {
    background: var(--sc-slate-50);
}

.premium-row td {
    padding: var(--space-4);
}

.date-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.date-badge .day {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 900;
    color: var(--sc-slate-800);
    line-height: 1;
}

.date-badge .month {
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 800;
    color: var(--sc-slate-400);
    text-transform: uppercase;
}

.cohort-info {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.cohort-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--sc-slate-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sc-blue);
    font-size: 22px;
}

.cohort-details {
    display: flex;
    flex-direction: column;
}

.cohort-name {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 800;
    color: var(--sc-slate-800);
}

.course-name {
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--sc-slate-500);
}

.teacher-info {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.teacher-avatar-small {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--sc-slate-200);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sc-slate-500);
}

.time-info .time {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 800;
    color: var(--sc-blue);
    display: block;
}

.session-label {
    font-family: var(--font-heading);
    font-size: 9px;
    font-weight: 800;
    color: var(--sc-slate-400);
    text-transform: uppercase;
}

/* 💊 STATUS BADGES */
.liquid-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 8px;
    font-family: 'Manrope', sans-serif;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
    max-width: 100%;
}

.liquid-badge.primary {
    background: rgba(28, 176, 246, 0.08);
    color: #1CB0F6;
}

.liquid-badge.success {
    background: rgba(88, 204, 2, 0.08);
    color: #46A302;
}

.liquid-badge i {
    font-size: 14px;
}

/* 🧊 MODAL: SESSION DETAILS */
.session-detail-modal-container {
    padding: var(--space-8);
    font-family: var(--font-body);
}

.modal-header-section {
    margin-bottom: var(--space-6);
}

.modal-date-label {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 800;
    color: var(--sc-blue);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: var(--space-2);
}

.modal-cohort-name {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: var(--sc-slate-800);
    letter-spacing: -0.02em;
    margin-bottom: var(--space-4);
}

.modal-badges-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.liquid-badge {
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    background: var(--sc-slate-100);
    color: var(--sc-slate-700);
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.liquid-badge.primary {
    background: rgba(28, 176, 246, 0.1);
    color: var(--sc-blue);
}

.liquid-badge.success {
    background: rgba(88, 204, 2, 0.1);
    color: var(--sc-green);
}

.premium-tabs-bar {
    display: flex;
    gap: var(--space-2);
    background: var(--sc-slate-100);
    padding: var(--space-1);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-6);
}

.premium-tabs-bar .tab-btn {
    flex: 1;
    height: 44px;
    border-radius: var(--radius-md);
    background: transparent;
    border: none;
    font-weight: 700;
    color: var(--sc-slate-500);
    cursor: pointer;
    transition: all var(--duration-fast);
}

.premium-tabs-bar .tab-btn.active {
    background: white;
    color: var(--sc-blue);
    box-shadow: var(--elevation-1);
}

.modal-body-section {
    min-height: 200px;
}

.input-field-group {
    margin-bottom: var(--space-6);
}

.field-label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    color: var(--sc-slate-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-2);
}

.premium-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.premium-input-wrapper i {
    position: absolute;
    left: var(--space-4);
    font-size: 20px;
    color: var(--sc-slate-400);
}

.premium-input-wrapper .premium-input {
    width: 100%;
    height: 52px;
    padding: 0 var(--space-4) 0 48px;
    border: 2px solid var(--sc-slate-200);
    border-radius: var(--radius-md);
    background: var(--sc-slate-50);
    font-size: 15px;
    font-weight: 700;
    color: var(--sc-slate-800);
    transition: border-color var(--duration-fast);
}

.premium-input-wrapper .premium-input:focus {
    border-color: var(--sc-blue);
    outline: none;
}

.modal-actions-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-4);
}

.info-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--sc-slate-400);
    font-weight: 600;
}

.buttons-group {
    display: flex;
    gap: var(--space-2);
}

/* 🎨 SC BUTTONS (3D Effect) */
.sc-btn {
    height: 44px;
    padding: 0 var(--space-5);
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    transition: transform var(--duration-fast), box-shadow var(--duration-fast);
}

.sc-btn:active {
    transform: translateY(4px) scale(0.98);
}

.btn-primary {
    background: var(--sc-blue);
    color: white;
    box-shadow: 0 4px 0 0 var(--sc-blue-shadow);
}

.btn-primary:active {
    box-shadow: none;
}

.btn-danger {
    background: #FF4B4B;
    color: white;
    box-shadow: 0 4px 0 0 #D33131;
}

.btn-danger:active {
    box-shadow: none;
}

.btn-ghost {
    background: var(--sc-slate-100);
    color: var(--sc-slate-700);
}

/* 📋 ATTENDANCE LIST */
.attendance-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    max-height: 400px;
    overflow-y: auto;
    padding-right: var(--space-1);
}

.attendance-item {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-3);
    border-radius: var(--radius-md);
    border: 1px solid var(--sc-slate-100);
    background: white;
}

.attendance-item.present {
    background: linear-gradient(90deg, #f0fdf4 0%, #ffffff 100%);
    border-color: #bbf7d0;
}

.attendance-item.absent {
    opacity: 0.7;
}

.avatar-wrapper {
    position: relative;
}

.student-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.status-indicator {
    position: absolute;
    bottom: -2px;
    right: -2px;
    background: white;
    border-radius: 50%;
    padding: 2px;
    display: flex;
}

.student-details {
    flex: 1;
}

.student-name {
    font-size: 14px;
    font-weight: 800;
    color: var(--sc-slate-800);
}

.student-time {
    font-size: 11px;
    color: var(--sc-slate-500);
    font-weight: 600;
}

.status-badge {
    font-size: 10px;
    font-weight: 800;
    border: 1.5px solid;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
}

/* 🧩 NAVIGATION & OTHERS */
.nav-btn,
.circular-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--sc-slate-200);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--duration-fast);
}

.nav-btn:hover {
    background: var(--sc-slate-50);
    border-color: var(--sc-blue);
    color: var(--sc-blue);
}

.today-btn {
    height: 32px;
    padding: 0 var(--space-4);
    border-radius: var(--radius-pill);
    border: 1px solid var(--sc-slate-200);
    background: white;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
    transition: all var(--duration-fast);
}

.today-btn:hover {
    background: var(--sc-blue);
    color: white;
    border-color: var(--sc-blue);
}

.cal-view-btn {
    padding: var(--space-2) var(--space-4);
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 800;
    font-size: 12px;
    cursor: pointer;
    background: transparent;
    color: var(--sc-slate-500);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.cal-view-btn.active {
    background: white;
    color: var(--sc-blue);
    box-shadow: var(--elevation-1);
}

.current-month-label {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--sc-slate-800);
    min-width: 140px;
    text-align: center;
}

.empty-state {
    text-align: center;
    padding: var(--space-10);
    color: var(--sc-slate-400);
}

.empty-state i {
    font-size: 40px;
    margin-bottom: var(--space-4);
    display: block;
}

.empty-state span {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* 👾 LOKI MODE (ZOOM AUDITOR) */
.zoom-history-container {
    padding: var(--space-4);
}

.loki-header h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    color: var(--sc-slate-800);
    letter-spacing: -0.04em;
    margin-bottom: var(--space-1);
}

.loki-header .subtitle {
    font-size: 14px;
    color: var(--sc-slate-500);
    font-weight: 600;
    margin-bottom: var(--space-6);
}

.loki-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: var(--space-4);
    border-radius: var(--radius-md);
    border: 1px solid var(--sc-slate-200);
    margin-bottom: var(--space-6);
    box-shadow: var(--elevation-1);
}

.loki-search-wrapper {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.loki-search-wrapper i {
    position: absolute;
    left: var(--space-4);
    top: 50%;
    transform: translateY(-50%);
    color: var(--sc-slate-400);
}

.loki-search-input {
    width: 100%;
    height: 44px;
    padding-left: 44px;
    border: 2px solid var(--sc-slate-100);
    border-radius: var(--radius-sm);
    background: var(--sc-slate-50);
    font-weight: 600;
    font-family: var(--font-body);
}

.teacher-meta {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.teacher-avatar-loki {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: var(--elevation-1);
}

.loki-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.loki-badge.on-time {
    background: rgba(88, 204, 2, 0.1);
    color: var(--sc-green);
}

.loki-badge.late {
    background: rgba(255, 150, 0, 0.1);
    color: var(--sc-orange);
}

.loki-badge.absent {
    background: rgba(255, 75, 75, 0.1);
    color: var(--sc-red);
}

.engagement-bar-container {
    width: 100%;
    height: 6px;
    background: var(--sc-slate-100);
    border-radius: var(--radius-pill);
    overflow: hidden;
}

.engagement-bar-fill {
    height: 100%;
    border-radius: var(--radius-pill);
    transition: width var(--duration-slow) var(--ease-out);
}

.loki-action-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--sc-blue);
    font-weight: 700;
    font-size: 12px;
    text-decoration: none;
    transition: opacity var(--duration-fast);
}

.loki-action-link:hover {
    opacity: 0.8;
}

/* 🌀 ANIMATIONS */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn var(--duration-normal) var(--ease-out) forwards;
}