/* css/style.css */

/* ------------------- */
/* IMPORTS & VARIABLES */
/* ------------------- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    /* Color Palette (Based on original + accents) */
    --color-primary: #0a0a0a;         /* Main Black */
    --color-primary-light: #2c2c2c;
    --color-white: #ffffff;
    --color-light-gray-1: #f9f7f7;    /* Original background */
    --color-light-gray-2: #e1e0e0;    /* Original bar background */
    --color-medium-gray: #a0a0a0;
    --color-dark-gray: #555555;

    /* Accent Colors */
    --color-accent: #4a69bd;          /* A nice blue for links and highlights */
    --color-success: #1dd1a1;        /* Green for success messages */
    --color-warning: #feca57;        /* Yellow for pending items */
    --color-danger: #ff6b6b;         /* Red for alerts */
    
    /* Typography */
    --font-primary: 'Poppins', sans-serif;

    /* Layout */
    --sidebar-width: 260px;
    --header-height: 80px;
    --border-radius: 8px;
    --card-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    --transition-main: all 0.3s ease-in-out;
}

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

html, body {
    height: 100%;
    width: 100%;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-light-gray-1);
    color: var(--color-dark-gray);
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* ------------------- */
/* TYPOGRAPHY */
/* ------------------- */
h1, h2, h3, h4 {
    color: var(--color-primary);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.5em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }
p { margin-bottom: 1rem; }
a {
    color: var(--color-accent);
    text-decoration: none;
    transition: var(--transition-main);
}
a:hover {
    text-decoration: underline;
}

/* ------------------- */
/* GLOBAL LAYOUT       */
/* ------------------- */
.page-wrapper {
    display: flex;
    min-height: 100vh;
}

/* Sidebar Navigation */
.sidebar {
    width: var(--sidebar-width);
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 2rem 1.5rem;
    position: fixed;
    height: 100%;
    left: 0;
    top: 0;
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
}

.sidebar-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-primary-light);
}

.sidebar-header img {
    width: 40px;
    height: 40px;
}

.sidebar-header h2 {
    color: var(--color-white);
    font-size: 1.2rem;
    margin: 0;
}

.sidebar-nav ul {
    list-style-type: none;
}

.sidebar-nav li {
    margin: 10px 0;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    color: var(--color-light-gray-2);
    border-radius: var(--border-radius);
    transition: var(--transition-main);
    font-weight: 500;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background-color: var(--color-primary-light);
    color: var(--color-white);
}

.sidebar-nav a .icon {
    width: 20px;
    text-align: center;
}

/* Main Content Area */
.main-content {
    flex-grow: 1;
    margin-left: var(--sidebar-width);
    padding: 0;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    height: var(--header-height);
    background-color: var(--color-white);
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    width: 100%;
}

.header-left {
    display: flex;
    align-items: center;
}

.mobile-menu-button {
    display: none; /* Hidden on desktop */
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-primary);
    margin-right: 1rem;
}

.header-title {
    font-size: 1.8rem;
    color: var(--color-primary);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-icon {
    font-size: 1.4rem;
    color: var(--color-dark-gray);
    position: relative;
    cursor: pointer;
    transition: var(--transition-main);
}

.header-icon:hover {
    color: var(--color-accent);
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -8px;
    background-color: var(--color-danger);
    color: var(--color-white);
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
}

.profile-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-info img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
}

.profile-text span {
    display: block;
    line-height: 1.2;
}

.profile-name {
    font-weight: 600;
    color: var(--color-primary);
}

.profile-id {
    font-size: 0.8rem;
    color: var(--color-medium-gray);
}

/* Page Content Container */
.page-content {
    flex-grow: 1;
    padding: 2.5rem;
    overflow-y: auto;
}

/* ------------------- */
/* REUSABLE COMPONENTS */
/* ------------------- */

/* Cards */
.card {
    background-color: var(--color-white);
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    padding: 1.5rem;
    transition: var(--transition-main);
    width: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-light-gray-2);
}

/* Buttons */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-main);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-primary-light);
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--color-dark-gray);
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--color-light-gray-2);
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition-main);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(74, 105, 189, 0.2);
}

/* Grids */
.grid-container {
    display: grid;
    gap: 1.5rem;
}

.grid-cols-1 { grid-template-columns: 1fr; }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }


/* Login & Signup Pages Specific Styles */
.auth-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: var(--color-light-gray-1);
    padding: 2rem;
}

.auth-box {
    width: 100%;
    max-width: 450px;
    padding: 3rem;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h1 {
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: var(--color-medium-gray);
}

/* ------------------------- */
/* PAGE-SPECIFIC STYLES      */
/* ------------------------- */

/* Dashboard Course Cards (re-styled from original) */
.course-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.course-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.course-card-header h3 {
    font-size: 1.4rem;
    margin: 0;
}
.grade-badge {
    background-color: var(--color-primary);
    color: var(--color-white);
    font-weight: 600;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
}

.course-card-body p {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.course-card-body .icon {
    color: var(--color-accent);
}

.progress-bar-container {
    margin-top: 1rem;
}
.progress-bar-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}
.progress-bar {
    width: 100%;
    height: 10px;
    background-color: var(--color-light-gray-2);
    border-radius: 50px;
    overflow: hidden;
}
.progress-bar-fill {
    height: 100%;
    background-color: var(--color-primary);
    border-radius: 50px;
}
.course-card-footer {
    margin-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

/* ------------------- */
/* RESPONSIVE DESIGN   */
/* ------------------- */
@media (max-width: 992px) {
    :root {
        --sidebar-width: 220px;
    }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.7rem; }
    .page-content { padding: 1.5rem; }
    .header { padding: 0 1.5rem; }

    .grid-cols-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        box-shadow: 0 0 20px rgba(0,0,0,0.2);
    }
    .sidebar.open {
        transform: translateX(0);
    }
    .main-content {
        margin-left: 0;
    }
    .mobile-menu-button {
        display: block;
    }
    .header-right {
        gap: 1rem;
    }
    .profile-text {
        display: none; /* Hide text on mobile, just show pic */
    }
    
    .grid-cols-2, .grid-cols-3 {
        grid-template-columns: 1fr;
    }
}

    /* =================================== */
/* ASSIGNMENTS PAGE STYLES             */
/* =================================== */

.assignments-table-container table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.assignments-table-container th, 
.assignments-table-container td {
    padding: 18px 15px;
    text-align: left;
    border-bottom: 1px solid var(--color-light-gray-2);
    vertical-align: middle;
}

.assignments-table-container th {
    font-weight: 600;
    color: var(--color-primary);
}

.assignments-table-container tbody tr:hover {
    background-color: var(--color-light-gray-1);
}

/* Reusable small button style for the assignments table */
.assignments-table-container .btn-small {
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.5;
}
/* =================================== */
/* CALENDAR PAGE STYLES                */
/* =================================== */

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-light-gray-2);
}

.calendar-title {
    flex-grow: 1;
    text-align: center;
}

.calendar-header h2 {
    margin: 0;
    font-size: 1.8rem;
}

.calendar-header .btn {
    padding: 8px 15px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
}

.day-name {
    font-weight: 600;
    text-align: center;
    padding: 10px;
    color: var(--color-primary);
}

.day {
    padding: 10px;
    min-height: 120px;
    background: #ffffff;
    border: 1px solid var(--color-light-gray-2);
    border-radius: var(--border-radius);
    transition: var(--transition-main);
    display: flex;
    flex-direction: column;
    gap: 5px;
}

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

.day.other-month {
    color: var(--color-medium-gray);
    background-color: var(--color-light-gray-1);
}

.day span {
    font-weight: 500;
    margin-bottom: 5px;
}

/* NEW -- Makes the current day much more visible */
.day.current-day {
    background-color: #eef3fc; /* A subtle light blue background for the whole cell */
    border: 1px solid #a8c5f0;  /* A soft blue border */
}

.day.current-day span {
    background-color: var(--color-accent);
    color: var(--color-white);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.event {
    font-size: 0.8rem;
    padding: 4px 8px;
    border-radius: 4px;
    color: var(--color-white);
    font-weight: 500;
    line-height: 1.4;
}

.event.cse301 { background-color: #4a69bd; }
.event.aiml501 { background-color: #6a89cc; }
.event.cse401 { background-color: #82ccdd; }
.event.gen101 { background-color: #ff9f43; }
.event.due-date { background-color: var(--color-danger); }

/* New color-coded event types */
.event.event-quiz { background-color: #9b59b6; } /* Purple */
.event.event-project { background-color: #3498db; } /* Blue */
.event.event-lab { background-color: #2ecc71; } /* Green */
.event.event-report { background-color: #f39c12; } /* Orange */

/* New style for past-due events */
.event.past-due {
    background-color: var(--color-medium-gray);
    text-decoration: line-through;
    opacity: 0.8;
}
/* =================================== */
/* PROFILE & SETTINGS PAGE STYLES      */
/* =================================== */

/* Styles for the new checkbox form group */
.form-group-checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.form-group-checkbox label {
    margin: 0;
    margin-left: 10px;
    font-weight: 500;
    color: var(--color-dark-gray);
}

/* Custom styling for the checkbox itself */
.form-group-checkbox input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    height: 20px;
    width: 20px;
    background-color: var(--color-light-gray-1);
    border: 2px solid var(--color-light-gray-2);
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
    transition: var(--transition-main);
}

.form-group-checkbox input[type="checkbox"]:after {
    font-family: "Font Awesome 6 Free";
    content: "\f00c"; /* Font Awesome checkmark icon */
    font-weight: 900;
    font-size: 12px;
    color: white;
    display: none;
}

.form-group-checkbox input[type="checkbox"]:checked {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
}

.form-group-checkbox input[type="checkbox"]:checked:after {
    display: block;
}

/* =================================== */
/* PROFILE PAGE - TAB LAYOUT STYLES    */
/* =================================== */

/* Tab navigation bar */
.tabs {
    border-bottom: 2px solid var(--color-light-gray-2);
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap; /* Allows tabs to wrap on smaller screens */
}

.tab-link {
    background: none;
    border: none;
    padding: 15px 25px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-medium-gray);
    border-bottom: 3px solid transparent;
    transition: var(--transition-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-link:hover {
    background-color: var(--color-light-gray-1);
    color: var(--color-dark-gray);
}

.tab-link.active {
    color: var(--color-accent);
    border-bottom-color: var(--color-accent);
}

/* Tab content panes */
.tab-content {
    display: none;
    padding: 0 1rem;
}

.tab-content.active {
    display: block;
}

.tab-content h3 {
    margin-bottom: 1.5rem;
}

/* Specific layout for the profile information tab */
.profile-layout {
    display: flex;
    gap: 2rem;
}

.profile-pic-container {
    flex-basis: 200px; /* Fixed width for the picture column */
    text-align: center;
}

#profile-page-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--color-light-gray-2);
}

.profile-form-container {
    flex-grow: 1; /* Form takes up the remaining space */
}

.profile-form-buttons {
    margin-top: 1rem;
}
/* =================================== */
/* HEADER DROPDOWN STYLES              */
/* =================================== */

/* Wrapper for each icon to position the dropdown correctly */
.header-icon-wrapper {
    position: relative;
}

/* The dropdown panel itself */
.dropdown-panel {
    position: absolute;
    top: 100%; /* Position it right below the wrapper */
    right: 0;
    width: 320px;
    background-color: var(--color-white);
    border-radius: var(--border-radius);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--color-light-gray-2);
    overflow: hidden;
    z-index: 1001; /* Ensure it appears above other content */

    /* Hide by default */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease-in-out;
}

/* Show the dropdown when hovering over the icon's wrapper */
.header-icon-wrapper:hover .dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Styling for the content inside the dropdown */
.dropdown-header {
    padding: 12px 15px;
    border-bottom: 1px solid var(--color-light-gray-2);
}

.dropdown-header h4 {
    margin: 0;
    font-size: 1rem;
}

.dropdown-list {
    list-style-type: none;
    max-height: 300px;
    overflow-y: auto;
}

.dropdown-list li a {
    display: block;
    padding: 12px 15px;
    font-size: 0.9rem;
    color: var(--color-dark-gray);
    border-bottom: 1px solid var(--color-light-gray-2);
    transition: var(--transition-main);
}

.dropdown-list li a:hover {
    background-color: var(--color-light-gray-1);
    text-decoration: none;
    color: var(--color-accent);
}

.dropdown-list li:last-child a {
    border-bottom: none;
}

.dropdown-footer {
    padding: 10px 15px;
    text-align: center;
    background-color: var(--color-light-gray-1);
    border-top: 1px solid var(--color-light-gray-2);
}

.dropdown-footer a {
    font-size: 0.9rem;
    font-weight: 500;
}
/* =================================== */
/* NOTIFICATIONS PAGE STYLES           */
/* =================================== */

.notification-list {
    list-style-type: none;
    margin-top: 1.5rem;
}

.notification-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    border-bottom: 1px solid var(--color-light-gray-2);
    transition: var(--transition-main);
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-item:hover {
    background-color: var(--color-light-gray-1);
}

/* Style for unread notifications */
.notification-item.unread {
    background-color: #eef3fc;
    border-left: 4px solid var(--color-accent);
}

.notification-icon-wrapper {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
}

.notification-icon-wrapper .icon {
    font-size: 1.2rem;
}

/* Color coding for different notification types */
.notification-icon-wrapper.grade {
    background-color: var(--color-success); /* Green */
}
.notification-icon-wrapper.due-date {
    background-color: var(--color-danger); /* Red */
}
.notification-icon-wrapper.announcement {
    background-color: var(--color-warning); /* Yellow */
}

.notification-content p {
    margin: 0;
    line-height: 1.4;
}

.notification-content .timestamp {
    font-size: 0.8rem;
    color: var(--color-medium-gray);
    margin-top: 4px;
    display: block;
}
/* =================================== */
/* MESSAGES PAGE STYLES                */
/* =================================== */

.message-list {
    list-style-type: none;
    margin-top: 1.5rem;
}

.message-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--color-light-gray-2);
    transition: var(--transition-main);
    cursor: pointer;
}

.message-item:last-child {
    border-bottom: none;
}

.message-item:hover {
    background-color: var(--color-light-gray-1);
}

/* Style for unread messages */
.message-item.unread {
    background-color: #eef3fc;
    border-left: 4px solid var(--color-accent);
    font-weight: 600;
}

.message-sender {
    flex-basis: 200px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.message-sender img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.message-subject {
    flex-grow: 1;
}

.message-subject p {
    margin: 0;
    line-height: 1.4;
    color: var(--color-dark-gray);
}

.message-item.unread .message-subject p {
    color: var(--color-primary);
}

.message-timestamp {
    flex-basis: 100px;
    flex-shrink: 0;
    text-align: right;
    font-size: 0.85rem;
    color: var(--color-medium-gray);
}
/* =================================== */
/* COMPOSE MESSAGE MODAL STYLES        */
/* =================================== */

/* The semi-transparent background overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000; /* Ensures it's on top of everything */

    /* Hide by default */
    display: none;
}

/* When the modal is active, show it */
.modal-overlay.active {
    display: flex;
}

/* The modal pop-up window */
.modal-content {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 600px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--color-light-gray-2);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.modal-header h3 {
    margin: 0;
}

.close-btn {
    font-size: 2rem;
    font-weight: 300;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-medium-gray);
    line-height: 1;
}

/* Make the textarea for the message body resizable only vertically */
.modal-content textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* New secondary button style for "Cancel" */
.btn-secondary {
    background-color: var(--color-light-gray-2);
    color: var(--color-dark-gray);
    border: 1px solid var(--color-light-gray-2);
}

.btn-secondary:hover {
    background-color: var(--color-medium-gray);
    border-color: var(--color-medium-gray);
    color: var(--color-white);
}
/* =================================== */
/* HEADER PROFILE LINK STYLES          */
/* =================================== */

/* Removes default blue link color and underline */
.profile-link,
.profile-link:hover {
    text-decoration: none;
    color: inherit;
}

/* Adds a subtle hover effect to indicate it's clickable */
.profile-link .profile-info {
    padding: 5px;
    border-radius: var(--border-radius);
    transition: var(--transition-main);
}

.profile-link:hover .profile-info {
    background-color: var(--color-light-gray-1);
}
/* Profile Page Danger Zone */
.section-divider {
    border: none;
    border-top: 1px solid var(--color-light-gray-2);
    margin: 2rem 0;
}
.danger-zone h3 {
    color: var(--color-danger);
}
.danger-zone-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border: 2px solid var(--color-light-gray-2);
    border-radius: var(--border-radius);
}
.danger-zone-item p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-dark-gray);
}
.btn-danger {
    background-color: var(--color-danger);
    color: var(--color-white);
}
.btn-danger:hover {
    opacity: 0.8;
}
.btn-danger:disabled {
    background-color: var(--color-medium-gray);
    cursor: not-allowed;
}
/* css/style.css */

.grades-list,
.resources-list {
    list-style-type: none;
    margin-top: 1.5rem;
}

.grades-list li,
.resources-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid var(--color-light-gray-2);
}

.grades-list li:last-child,
.resources-list li:last-child {
    border-bottom: none;
}

.resources-list a {
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.grades-list li strong {
    font-weight: 600;
    color: var(--color-primary);
}