@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* Responsive Root Font Size: Tự động co giãn theo các điểm ngắt màn hình */
html {
    font-size: 13px;
    /* Điện thoại & Màn hình rất nhỏ (<768px) */
}

@media (min-width: 768px) {
    html {
        font-size: 14px;
    }

    /* Tablet & Laptop 13-16 inch (các độ phân giải phổ thông hoặc bị phóng to do scale Windows) */
}

@media (min-width: 1600px) {
    html {
        font-size: 15px;
    }

    /* Màn hình Desktop lớn hoặc Laptop không bị scale */
}

@media (min-width: 1920px) {
    html {
        font-size: 16px;
    }

    /* Màn hình Desktop siêu rộng */
}

:root {
    --primary: #FF4D2D;
    --primary-hover: #E63E20;
    --secondary: #0D1B3D;
    --dark: #0D1B3D;
    --text-main: #1F2937;
    --text-muted: #6B7280;
    --bg-light: #F9FAFB;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.2);
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand,
.logo-text {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-weight: 700;
}

/* --- Premium Layout Utilities --- */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--card-shadow);
    border-radius: 1.25rem;
}

.text-gradient {
    color: var(--primary) !important;
}

.btn-premium {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 0.75rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-premium:hover {
    transform: translateY(-2px);
    background: var(--primary-hover);
    box-shadow: 0 10px 20px -5px rgba(255, 77, 45, 0.4);
    color: white;
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
    background-color: transparent;
    border: 1px solid var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    color: white;
}

/* --- Hero Section --- */
.lms-hero {
    position: relative;
    padding: 120px 0 80px;
    background: radial-gradient(circle at 10% 20%, rgba(13, 27, 61, 0.05) 0%, rgba(255, 77, 45, 0.05) 90%);
    overflow: hidden;
}

.lms-hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: var(--primary);
    filter: blur(150px);
    opacity: 0.1;
}

/* --- Features --- */
.feature-box {
    padding: 2.5rem;
    border-radius: 1.5rem;
    background: white;
    transition: var(--transition);
    border: 1px solid transparent;
}

.feature-box:hover {
    border-color: rgba(79, 70, 229, 0.1);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.05);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* --- Input Group Utilities --- */
.lms-input-group {
    display: flex;
    align-items: center;
    background-color: var(--bg-light);
    border: 1px solid #E2E8F0;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: var(--transition);
}

.lms-input-group:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(255, 77, 45, 0.25);
    background-color: #ffffff;
}

.lms-input-group .input-group-text {
    background-color: transparent !important;
    border: none !important;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.lms-input-group .form-control {
    background-color: transparent !important;
    border: none !important;
    padding: 0.5rem 0.5rem;
    font-size: 0.9rem;
}

.lms-input-group .form-control:focus {
    box-shadow: none;
}

/* --- Dashboard Specific --- */
.sidebar {
    width: 280px;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    background: var(--dark);
    color: white;
    padding: 2rem 1.5rem;
    z-index: 1000;
}

.nav-link-custom {
    display: flex;
    align-items: center;
    padding: 0.875rem 1rem;
    color: rgba(255, 255, 255, 0.7);
    border-radius: 0.75rem;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.nav-link-custom i {
    margin-right: 1rem;
    font-size: 1.25rem;
}

.nav-link-custom:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.nav-link-custom.active {
    background: var(--primary);
    color: white;
    font-weight: 500;
}

/* Tables styling */
.table-custom {
    background-color: white;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.table-custom th {
    background-color: var(--bg-light);
    color: var(--text-muted);
    font-weight: 600;
    border-bottom: 1px solid #E2E8F0;
    padding: 1rem;
}

.table-custom td {
    padding: 1rem;
    vertical-align: middle;
    border-bottom: 1px solid #E2E8F0;
}

.table-custom tbody tr:hover {
    background-color: #F8FAFC;
}

.main-wrapper {
    margin-left: 280px;
    padding: 2rem;
}

@media (max-width: 991.98px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        width: 260px;
    }

    .sidebar.show {
        transform: translateX(0);
        box-shadow: 20px 0 40px rgba(0, 0, 0, 0.3);
    }

    .main-wrapper {
        margin-left: 0;
        padding: 1rem;
    }
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 999;
}

.btn-glass-dark {
    background: rgba(13, 27, 61, 0.05);
    border: 1px solid rgba(13, 27, 61, 0.1);
    border-radius: 0.75rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
}

.btn-close-sidebar {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: white;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1010;
    transition: var(--transition);
}

.btn-close-sidebar:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* --- Inline styles moved from Index.cshtml --- */
.course-card {
    border: none;
    border-radius: 1rem;
    overflow: hidden;
    transition: var(--transition);
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.1);
}

.course-img {
    height: 160px;
    background-color: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #94a3b8;
}

.progress {
    height: 8px;
    border-radius: 4px;
}

/* Custom Scrollbar cho Sidebar Menu */
.sidebar-nav-scroll::-webkit-scrollbar {
    width: 4px;
}

.sidebar-nav-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-nav-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
}

.sidebar-nav-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Custom SweetAlert2 Popup */
.swal2-popup {
    border-radius: 2rem !important;
}

/* Dashboard Specific Utilities */
.log-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.badge-info {
    background-color: #e0f2fe;
    color: #0369a1;
}

.badge-warning {
    background-color: #fef3c7;
    color: #92400e;
}

.badge-error {
    background-color: #fee2e2;
    color: #991b1b;
}

.tiny {
    font-size: 0.7rem;
}

.bg-premium {
    background: linear-gradient(135deg, #4f46e5 0%, #0ea5e9 100%);
}

.log-item:last-child {
    border-bottom: none !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/*-------------Giao dien Log-----------*/
.my-dt-root a {
    text-decoration: none;
    cursor: pointer;
    color: black;
}
}

/* --- Student Dashboard Specific Styles --- */
.student-dashboard {
    padding: 20px;
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.student-dashboard .widget-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 24px;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.student-dashboard .widget-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

/* Join Now Widget States (Hero Section) */
.lms-dashboard .widget-card.join-widget,
.student-dashboard .widget-card.join-widget {
    background: linear-gradient(135deg, #4361ee 0%, #3f37c9 100%);
    color: white;
    border: none;
}

.lms-dashboard .widget-card.join-widget.ready,
.student-dashboard .widget-card.join-widget.ready {
    background: linear-gradient(135deg, #4895ef 0%, #4361ee 100%);
    animation: pulseReady 2s infinite;
}

.lms-dashboard .widget-card.join-widget.ongoing,
.student-dashboard .widget-card.join-widget.ongoing {
    background: linear-gradient(135deg, #f72585 0%, #b5179e 100%);
}

@keyframes pulseReady {
    0% {
        box-shadow: 0 0 0 0 rgba(67, 97, 238, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(67, 97, 238, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(67, 97, 238, 0);
    }
}

.btn-join {
    background: #fff;
    color: #4361ee;
    font-weight: 800;
    border-radius: 12px;
    padding: 12px 32px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
}

.btn-join:hover {
    background: #f8f9fa;
    color: #4361ee;
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary-join {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    font-weight: 800;
    border-radius: 12px;
    padding: 12px 32px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-secondary-join:hover {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    transform: scale(1.02);
}

/* Quick Stats Cards */
.stat-card {
    text-align: center;
    padding: 15px;
    border-radius: 16px;
    background: #f8f9fa;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    display: block;
    margin-bottom: 2px;
}

.stat-label {
    font-size: 0.8rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Class Progress */
.class-card {
    padding: 20px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #ccd4db;
    margin-bottom: 16px;
}

.student-dashboard .progress {
    height: 8px;
    border-radius: 10px;
    background-color: #edf2f7;
}

.student-dashboard .progress-bar {
    border-radius: 10px;
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
}

.grade-badge {
    font-size: 1rem;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 12px;
    background: #e0f2fe;
    color: #0369a1;
}

/* Notifications */
.noti-item {
    padding: 12px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 12px;
}

.noti-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ================================================================
   VIEW PAGE — Class dùng chung cho các trang chi tiết
   Chỉ định nghĩa ở đây khi Bootstrap KHÔNG thể thay thế được.
   ================================================================ */

/* Top-bar: border-bottom + spacing — Bootstrap không có combo này */
.view-topbar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1.25rem 0 1rem;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 1.5rem;
}

/* Nút quay lại — style đặc thù, dùng ở mọi trang detail */
.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
    padding: 6px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    transition: var(--transition);
    white-space: nowrap;
    font-weight: 500;
}

.btn-back:hover {
    background: var(--bg-light);
    color: var(--text-main);
}

/* Status badge — pill nhỏ có icon + text */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 500;
    padding: 3px 10px;
    border-radius: 99px;
}

.status-badge.active {
    background: #d1fae5;
    color: #065f46;
}

.status-badge.inactive {
    background: #f3f4f6;
    color: #6b7280;
}

/* Underline tabs — Bootstrap nav-tabs có border khác kiểu */
.underline-tabs {
    display: flex;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 1.5rem;
}

.underline-tab {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: var(--transition);
    user-select: none;
}

.underline-tab.active {
    color: var(--text-main);
    border-bottom-color: var(--text-main);
}

.underline-tab:hover:not(.active) {
    color: #374151;
    background: var(--bg-light);
}

/* Section card — card nhẹ, bo góc, border xám */
.section-card {
    background: #fff8f6;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.25rem;
}

/* Filter chip — Bootstrap không có kiểu pill toggle này */
.filter-chip {
    font-size: 12px;
    padding: 5px 14px;
    border-radius: 99px;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: var(--text-muted);
    cursor: pointer;
    user-select: none;
    transition: var(--transition);
    font-weight: 500;
}

.filter-chip.active {
    background: var(--text-main);
    color: #fff;
    border-color: var(--text-main);
}

.filter-chip:hover:not(.active) {
    background: var(--bg-light);
}

/* Score table — bảng điểm dùng ở nhiều chức năng */
.score-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.score-table th {
    text-align: left;
    color: #9ca3af;
    font-weight: 500;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.score-table td {
    padding: 10px 8px;
    border-bottom: 1px solid #f3f4f6;
    color: #374151;
}

.score-table tr:last-child td {
    border-bottom: none;
}

.score-table .summary-row td {
    background: var(--bg-light);
    font-weight: 500;
}

.score-val {
    font-weight: 600;
}

.score-val.good {
    color: #065f46;
}

.score-val.ok {
    color: #92400e;
}

.score-val.bad {
    color: #dc2626;
}

.score-val.total {
    color: #1d4ed8;
    font-size: 15px;
}

/* Session list item — dùng ở ClassDetail & có thể dùng lại */
.session-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    transition: background .1s;
}

.session-item:hover {
    background: var(--bg-light);
}

.session-item.session-active {
    border: 1.5px solid #1D9E75;
    background: #f0fdf8;
}

.session-num {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
    background: #f3f4f6;
    color: #6b7280;
}

.session-num.done {
    background: #d1fae5;
    color: #065f46;
}

.session-num.now {
    background: #d1fae5;
    color: #0F6E56;
}

.session-num.soon {
    background: #dbeafe;
    color: #1d4ed8;
}

/* Attendance badge */
.att-badge {
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 99px;
    font-weight: 500;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.att-present {
    background: #d1fae5;
    color: #065f46;
}

.att-late {
    background: #fef3c7;
    color: #92400e;
}

.att-absent {
    background: #fee2e2;
    color: #991b1b;
}

.att-excused {
    background: #f3f4f6;
    color: #6b7280;
}

.att-upcoming {
    background: #dbeafe;
    color: #1d4ed8;
}

.att-now {
    background: #d1fae5;
    color: #0F6E56;
}

/* Live dot — animation, Bootstrap không có */
.live-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #1D9E75;
    flex-shrink: 0;
    animation: live-pulse 1.5s infinite;
}

@keyframes live-pulse {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: .3
    }
}


/* --- View Page Layout --- */
.view-page {
    padding: 0 0 2rem;
}

/* --- LMS Dashboard Shared Components --- */
.lms-dashboard {
    padding: 1.5rem;
    background-color: #f1f5f9;
    border-radius: 20px;
    margin-top: 1rem;
}

/* Stat Cards */
.lms-stat-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem;
    position: relative;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.lms-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent, #6366f1);
    border-radius: 12px 12px 0 0;
}

.lms-stat-card.clickable {
    cursor: pointer;
}

.lms-stat-card.clickable:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
}

.lms-stat-card.warn {
    border-color: rgba(245, 158, 11, .4);
    background: rgba(245, 158, 11, .08);
}

.lms-stat-icon {
    font-size: 1.4rem;
    color: var(--accent, #6366f1);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    background: rgba(0,0,0,0.05);
    border-radius: 10px;
}

.lms-stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1;
}

.lms-stat-label {
    font-size: .75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .04em;
}

/* Widget cards (Global) */
.widget-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem;
    height: 100%;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.widget-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
}

/* Session Items */
.lms-session-item {
    border-left: 4px solid rgba(0, 0, 0, .05);
    background: #f8fafc;
    border-radius: 0 12px 12px 0;
    padding: 1rem;
    margin-bottom: 0.75rem;
    transition: all 0.2s;
    border: 1px solid #f1f5f9;
    border-left-width: 4px;
}

.lms-session-item:last-child {
    margin-bottom: 0;
}

.lms-session-item:hover {
    border-left-color: var(--primary);
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transform: translateX(4px);
}

.lms-session-time {
    min-width: 52px;
    text-align: center;
    font-size: .75rem;
    background: rgba(0, 0, 0, .03);
    border-radius: 8px;
    padding: .4rem .3rem;
}

/* Dashboard Animations */
.lms-pulse-dot {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 10px;
    height: 10px;
    background: #ef4444;
    border-radius: 50%;
    animation: lms-pulse 1.4s infinite;
}

@keyframes lms-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.6); opacity: .6; }
}

.lms-live-dot {
    width: 8px; height: 8px;
    background: #ef4444;
    border-radius: 50%;
    display: inline-block;
    animation: lms-pulse-red 2s infinite;
}

@keyframes lms-pulse-red {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    70% { box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* Table LMS Dashboard (Premium spacing) */
.table-lms-dashboard {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
}

.table-lms-dashboard thead th {
    background: #f8fafc;
    border: none;
    padding: 12px 16px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #64748b;
    letter-spacing: 0.025em;
}

.table-lms-dashboard thead th:first-child { border-radius: 8px 0 0 8px; }
.table-lms-dashboard thead th:last-child { border-radius: 0 8px 8px 0; }

.table-lms-dashboard tbody tr {
    background: #ffffff;
    transition: all 0.2s;
}

.table-lms-dashboard tbody td {
    padding: 16px;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.table-lms-dashboard tbody tr td:first-child {
    border-left: 1px solid #f1f5f9;
    border-radius: 12px 0 0 12px;
}

.table-lms-dashboard tbody tr td:last-child {
    border-right: 1px solid #f1f5f9;
    border-radius: 0 12px 12px 0;
}

.table-lms-dashboard tbody tr:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Avatar Utilities */
.lms-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.lms-avatar-initials {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    text-transform: uppercase;
}

/* Utility: min-w-0 */
.min-w-0 { min-width: 0; }