:root {
    --bg-color: #F9F9F9;
    --card-bg: #FFFFFF;
    --bamboo-green: #5F8575;
    --bamboo-light: #E8F0EC;
    --text-main: #333333;
    --text-muted: #888888;
    --border-color: #E0E0E0;
    --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.03);
    --shadow-hover: 0 8px 24px rgba(95, 133, 117, 0.15);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    padding: 0;
    margin: 0;
    min-height: 100vh;
}

.dashboard-container {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background-color: var(--card-bg);
    padding: 16px 32px;
    box-shadow: var(--shadow-soft);
    gap: 48px;
}

.navbar-brand {
    font-size: 24px;
    font-weight: 700;
    color: var(--bamboo-green);
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-muted);
    padding: 8px 0;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--bamboo-green);
}

.nav-item.active .nav-link {
    color: var(--bamboo-green);
}

.nav-item.active .nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--bamboo-green);
    border-radius: 2px;
}

/* Main Content */
.main-content {
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

/* Tab System */
.tab-content {
    display: none;
    flex-direction: column;
    gap: 24px;
}
.tab-content.active {
    display: flex;
}

/* Dashboard Overview */
.dashboard-overview {
    background-color: var(--card-bg);
    padding: 24px;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.greeting-box h2 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-main);
}

.progress-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 600;
    color: var(--bamboo-green);
}

.progress-bar-container {
    width: 100%;
    height: 12px;
    background-color: var(--bamboo-light);
    border-radius: 6px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background-color: var(--bamboo-green);
    border-radius: 6px;
    transition: width 0.4s ease;
}

/* Profile Section */
.profile-section {
    background-color: var(--card-bg);
    padding: 32px;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.profile-header {
    margin-bottom: 24px;
}

.profile-header h2 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--text-main);
}

.profile-header p {
    font-size: 14px;
    color: var(--text-muted);
}

.profile-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-main);
}

.form-group input {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 15px;
    transition: var(--transition);
    outline: none;
    font-family: inherit;
}

.form-group input:focus {
    border-color: var(--bamboo-green);
    box-shadow: 0 0 0 3px rgba(95, 133, 117, 0.1);
}

.btn-primary {
    background-color: var(--bamboo-green);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 8px;
    font-family: inherit;
}

.btn-primary:hover {
    background-color: #4a6c5e;
    box-shadow: var(--shadow-hover);
}

/* Calendar Section */
.calendar-section {
    background-color: var(--card-bg);
    padding: 24px;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.calendar-header h2 {
    font-size: 18px;
    font-weight: 600;
}

.calendar-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

.icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 14px;
    padding: 4px;
    transition: var(--transition);
}

.icon-btn:hover {
    color: var(--bamboo-green);
}

.weekly-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 16px;
    margin-top: 16px;
}

.day-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background-color: var(--bg-color);
    border-radius: 16px;
    padding: 16px;
    min-height: 300px;
}

.day-column-header {
    text-align: center;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--bamboo-light);
    margin-bottom: 8px;
}

.day-column-header .day-name {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
}

.day-column-header .day-date {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main);
    margin-top: 4px;
}

.day-column.active .day-column-header {
    border-color: var(--bamboo-green);
}

.day-column.active .day-date {
    color: var(--bamboo-green);
}

.btn-add-task-day {
    width: 100%;
    padding: 10px;
    background-color: transparent;
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    color: var(--text-muted);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-add-task-day:hover {
    border-color: var(--bamboo-green);
    color: var(--bamboo-green);
    background-color: rgba(95, 133, 117, 0.05);
}

/* Adjust task items for narrow columns */
.weekly-grid .task-item {
    padding: 12px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.weekly-grid .task-header {
    display: flex;
    align-items: flex-start;
    width: 100%;
    gap: 8px;
}

.weekly-grid .checkbox-container {
    margin-right: 0;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.weekly-grid .task-title {
    font-size: 14px;
    line-height: 1.4;
}

.weekly-grid .task-badges {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.weekly-grid .badge-pill {
    font-size: 10px;
    padding: 3px 8px;
}

.weekly-grid .task-actions {
    margin-left: 0 !important;
    align-self: flex-end;
    margin-top: 8px;
}

.day-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 0;
    border-radius: 14px;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.day-card:hover {
    background-color: var(--bamboo-light);
}

.day-card.active {
    background-color: var(--bamboo-green);
    color: white;
    box-shadow: var(--shadow-hover);
}

.day-name {
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 6px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.day-card.active .day-name {
    color: rgba(255, 255, 255, 0.8);
}

.day-number {
    font-size: 18px;
    font-weight: 600;
}

.day-dot {
    width: 4px;
    height: 4px;
    background-color: var(--bamboo-green);
    border-radius: 50%;
    margin-top: 6px;
    opacity: 0;
}

.day-card.has-tasks:not(.active) .day-dot {
    opacity: 1;
}

.day-card.active .day-dot {
    background-color: white;
    opacity: 1;
}

/* Tasks Section */
.tasks-section {
    background-color: var(--card-bg);
    padding: 24px;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    flex-grow: 1;
}

.tasks-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.tasks-header h2 {
    font-size: 18px;
    font-weight: 600;
}

.task-count {
    background-color: var(--bamboo-light);
    color: var(--bamboo-green);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.task-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.task-item {
    display: flex;
    align-items: center;
    padding: 16px;
    border-radius: 14px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    cursor: pointer;
    background-color: #fff;
}

.task-item:hover {
    border-color: var(--bamboo-green);
    box-shadow: var(--shadow-soft);
}

.task-item.completed {
    background-color: #FAFAFA;
}

.task-item.completed .task-title {
    text-decoration: line-through;
    color: var(--text-muted);
}

.checkbox-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    margin-right: 16px;
    transition: var(--transition);
    color: transparent;
}

.task-item:hover .checkbox-container {
    border-color: var(--bamboo-green);
}

.task-item.completed .checkbox-container {
    background-color: var(--bamboo-green);
    border-color: var(--bamboo-green);
    color: white;
}

.task-content {
    flex-grow: 1;
}

.task-title {
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
    color: var(--text-main);
}

.task-category {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.task-category i {
    font-size: 10px;
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
    color: var(--text-muted);
    text-align: center;
}

.empty-state i {
    font-size: 48px;
    color: var(--bamboo-light);
    margin-bottom: 16px;
}

.empty-state p {
    font-size: 14px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.task-item {
    animation: fadeIn 0.3s ease forwards;
}

/* Login View */
.login-box {
    max-width: 400px;
    width: 100%;
    margin: 100px auto;
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
}

.login-logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--bamboo-green);
    display: flex;
    align-items: center;
    gap: 8px;
}

.login-box h2 {
    font-size: 20px;
    color: var(--text-main);
}

.login-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.error-msg {
    color: #e74c3c;
    font-size: 13px;
    text-align: center;
}

.w-100 {
    width: 100%;
}

.mt-24 {
    margin-top: 24px;
}

.mt-16 {
    margin-top: 16px;
}

.badge {
    background-color: var(--bamboo-light);
    color: var(--bamboo-green);
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 12px;
    margin-left: 8px;
    vertical-align: middle;
}

.navbar-actions {
    margin-left: auto;
}

.btn-logout {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-logout:hover {
    color: #e74c3c;
}

/* Coach Student Cards */
.student-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
}

.student-card {
    display: flex;
    align-items: center;
    background-color: var(--card-bg);
    padding: 16px 24px;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.student-card:hover {
    border-color: var(--bamboo-green);
    transform: translateY(-2px);
}

.student-card .avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--bamboo-light);
    color: var(--bamboo-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-right: 16px;
}

.student-card .info {
    flex-grow: 1;
}

.student-card .info h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.student-card .info p {
    font-size: 13px;
    color: var(--text-muted);
}

.student-card .arrow {
    color: var(--bamboo-green);
}

.detail-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.btn-back {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-back:hover {
    color: var(--text-main);
}

.btn-primary-small {
    background-color: var(--bamboo-green);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary-small:hover {
    background-color: #4a6c5e;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background-color: var(--card-bg);
    width: 100%;
    max-width: 400px;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-header h3 {
    font-size: 18px;
    color: var(--text-main);
}

.close-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: var(--text-muted);
    cursor: pointer;
}

.close-btn:hover {
    color: var(--text-main);
}

.form-select {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    outline: none;
    width: 100%;
}

/* Task Badges */
.task-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}

.badge-pill {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.badge-pill.tyt-ayt {
    background-color: var(--text-main);
    color: white;
}

.badge-pill.subject {
    background-color: var(--bamboo-green);
    color: white;
}

.badge-pill.study {
    background-color: var(--bamboo-light);
    color: var(--text-main);
}

/* Admin View Styles */
.admin-section {
    background-color: var(--card-bg);
    padding: 24px;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

.admin-section h2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 8px;
}

.admin-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: flex;
    gap: 16px;
}

.form-row .form-group {
    flex: 1;
}

.w-max {
    width: max-content;
    padding: 10px 24px;
}

.text-muted {
    color: var(--text-muted);
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.admin-table th, .admin-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.admin-table th {
    font-weight: 600;
    color: var(--text-muted);
    background-color: var(--bg-color);
}

.admin-table tbody tr:hover {
    background-color: var(--bamboo-light);
}

.btn-danger-small {
    background: none;
    border: none;
    color: #e74c3c;
    cursor: pointer;
    font-size: 16px;
    transition: var(--transition);
}

.btn-danger-small:hover {
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 16px;
    }
    .weekly-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 16px;
        flex-direction: column;
        gap: 16px;
    }

    .main-content {
        padding: 16px;
    }
    
    .day-card {
        padding: 8px 0;
    }
    
    .day-number {
        font-size: 16px;
    }
}

/* Dynamic Task Status Colors (Coach & Admin) */
.task-item.task-status-completed {
    background-color: #E8F5E9 !important;
    border-color: #C8E6C9 !important;
}
.task-item.task-status-completed .task-title {
    color: #1B5E20 !important;
    text-decoration: none !important;
}
.task-item.task-status-completed .task-category,
.task-item.task-status-completed .task-category i,
.task-item.task-status-completed .checkbox-container {
    color: #1B5E20 !important;
    border-color: #1B5E20 !important;
}
.task-item.task-status-completed.completed .checkbox-container {
    background-color: #1B5E20 !important;
    color: white !important;
}
.task-item.task-status-completed .badge-pill.tyt-ayt {
    background-color: #1B5E20 !important;
    color: white !important;
}
.task-item.task-status-completed .badge-pill.subject {
    background-color: #2E7D32 !important;
    color: white !important;
}
.task-item.task-status-completed .badge-pill.study {
    background-color: #C8E6C9 !important;
    color: #1B5E20 !important;
}

.task-item.task-status-missed {
    background-color: #FFEBEE !important;
    border-color: #FFCDD2 !important;
}
.task-item.task-status-missed .task-title {
    color: #B71C1C !important;
}
.task-item.task-status-missed .task-category,
.task-item.task-status-missed .task-category i,
.task-item.task-status-missed .checkbox-container {
    color: #B71C1C !important;
    border-color: #B71C1C !important;
}
.task-item.task-status-missed .badge-pill.tyt-ayt {
    background-color: #B71C1C !important;
    color: white !important;
}
.task-item.task-status-missed .badge-pill.subject {
    background-color: #C62828 !important;
    color: white !important;
}
.task-item.task-status-missed .badge-pill.study {
    background-color: #FFCDD2 !important;
    color: #B71C1C !important;
}

.task-item.task-status-pending {
    background-color: #FFFDE7 !important;
    border-color: #FFF59D !important;
}
.task-item.task-status-pending .task-title {
    color: #F57F17 !important;
}
.task-item.task-status-pending .task-category,
.task-item.task-status-pending .task-category i,
.task-item.task-status-pending .checkbox-container {
    color: #F57F17 !important;
    border-color: #F57F17 !important;
}
.task-item.task-status-pending .badge-pill.tyt-ayt {
    background-color: #F57F17 !important;
    color: white !important;
}
.task-item.task-status-pending .badge-pill.subject {
    background-color: #F9A825 !important;
    color: white !important;
}
.task-item.task-status-pending .badge-pill.study {
    background-color: #FFF59D !important;
    color: #F57F17 !important;
}

/* Student Info Button */
.btn-info {
    background-color: var(--bamboo-light);
    color: var(--bamboo-green);
    border: none;
    border-radius: 20px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-right: 12px;
    white-space: nowrap;
}

.btn-info:hover {
    background-color: var(--bamboo-green);
    color: white;
    transform: scale(1.02);
}

/* Notes Button */
.btn-notes {
    background-color: #E0F2F1;
    color: #00796B;
    border: none;
    border-radius: 20px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-notes:hover {
    background-color: #00796B;
    color: white;
    transform: scale(1.02);
}

/* Task Action Buttons (Copy, Move, Delete) */
.btn-action-small {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 6px;
    font-size: 14px;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-action-small:hover {
    background-color: var(--bamboo-light);
    color: var(--bamboo-green);
    transform: scale(1.1);
}

.btn-action-small.delete:hover {
    background-color: #FDEDEC;
    color: #e74c3c;
}

/* Modal Tabs */
.notes-resources-content {
    max-width: 600px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
}

.modal-body-scrollable {
    flex: 1;
    overflow-y: auto;
    padding-right: 8px;
    margin-right: -8px;
}

.modal-body-scrollable::-webkit-scrollbar {
    width: 6px;
}
.modal-body-scrollable::-webkit-scrollbar-track {
    background: transparent;
}
.modal-body-scrollable::-webkit-scrollbar-thumb {
    background-color: rgba(95, 133, 117, 0.3);
    border-radius: 10px;
}
.modal-body-scrollable::-webkit-scrollbar-thumb:hover {
    background-color: var(--bamboo-green);
}

.modal-tabs {
    display: flex;
    gap: 16px;
    border-bottom: 2px solid var(--bamboo-light);
    margin-bottom: 24px;
}

.modal-tab-item {
    background: none;
    border: none;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-muted);
    padding: 12px 16px;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.modal-tab-item:hover {
    color: var(--bamboo-green);
}

.modal-tab-item.active {
    color: var(--bamboo-green);
}

.modal-tab-item.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--bamboo-green);
    border-radius: 3px;
}

/* Add Box */
.add-box {
    background-color: var(--bg-color);
    padding: 20px;
    border-radius: 12px;
    border: 1px dashed var(--bamboo-green);
}

.add-box h4 {
    font-size: 15px;
    color: var(--bamboo-green);
    margin-bottom: 12px;
}

/* Accordion Notes */
.note-item {
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
}

.note-header {
    padding: 16px;
    cursor: pointer;
    background-color: #fafafa;
    transition: var(--transition);
}

.note-header:hover {
    background-color: var(--bamboo-light);
}

.note-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
}

.note-date {
    font-size: 12px;
    color: var(--text-muted);
}

.note-content {
    padding: 0 16px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    font-size: 14px;
    color: var(--text-main);
    line-height: 1.5;
}

.note-item.expanded .note-header {
    border-bottom: 1px solid var(--border-color);
    background-color: white;
}

.note-item.expanded .note-content {
    padding: 16px;
    max-height: 500px;
    opacity: 1;
}

/* Resources Badges */
.resource-group {
    margin-bottom: 24px;
}

.resource-group-title {
    font-size: 14px;
    color: var(--text-main);
    margin-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 4px;
}

.resource-group-title i {
    color: var(--bamboo-green);
    margin-right: 6px;
}

.resource-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.resource-badge {
    background-color: var(--bamboo-light);
    color: var(--bamboo-green);
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.resource-badge button {
    background: none;
    border: none;
    color: var(--bamboo-green);
    cursor: pointer;
    font-size: 14px;
    opacity: 0.7;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.resource-badge button:hover {
    opacity: 1;
    color: #e74c3c;
    transform: scale(1.1);
}

.mb-16 {
    margin-bottom: 16px;
}

/* Student Info Modal Styles */
.student-info-content {
    max-width: 500px;
}

.student-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 16px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: var(--bg-color);
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.info-item:hover {
    border-color: var(--bamboo-green);
    box-shadow: var(--shadow-soft);
}

.info-item i {
    font-size: 20px;
    color: var(--bamboo-green);
    width: 24px;
    text-align: center;
}

.info-content {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.info-value {
    font-size: 14px;
    color: var(--text-main);
    font-weight: 600;
    margin-top: 2px;
    word-break: break-word;
}

@media (max-width: 480px) {
    .student-info-grid {
        grid-template-columns: 1fr;
    }
}


