/* General Styles */
h1, h2, h3, h4, h5, h6 {
  font-size: revert !important;
  font-weight: revert !important;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background-color: #f7f5f9;
  color: #4a4a4a;
}

.container {
  width: 90%;
  max-width: 1100px;
  /*margin: auto;*/
  overflow: hidden;
  padding: 30px;
}

.filter-container {
  margin-bottom: 24px;
}

.filter-container label {
  font-size: 15px;
  margin-right: 12px;
  font-weight: 500;
}

#filter-class-grade {
  padding: 10px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background-color: #ffffff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* Header Styles */
header {
  background-color: #ffffff;
  color: #4a4a4a;
  padding: 24px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

header h1 {
  margin: 0;
  text-align: center;
  padding-bottom: 18px;
  font-weight: 300;
  font-size: 2.3em;
  letter-spacing: -0.02em;
}

header nav ul {
  padding: 0;
  list-style: none;
  text-align: center;
}

header nav ul li {
  display: inline;
  margin: 0 18px;
}

header nav ul li a {
  color: #6d6d6d;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s ease;
}

header nav ul li a:hover {
  color: #a9c5e0;
}

/* Main Content Styles */
main {
  padding: 48px 24px;
  margin-top: 24px;
}

button {
  background-color: #c4e0f9;
  color: #436b9a;
  border: none;
  padding: 12px 22px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
  font-size: 14px;
}

button:hover {
  background-color: #a9c5e0;
  transform: translateY(-1px);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

h2 {
  color: #4a4a4a;
  font-weight: 500;
  margin-bottom: 20px;
  font-size: 1.8rem;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

/* Form Styles */
form {
  display: flex;
  flex-direction: column;
}

form label {
  margin-top: 18px;
  color: #6d6d6d;
  font-weight: 500;
  font-size: 14px;
}

form input[type="text"], form input[type="date"], form select, form textarea {
  padding: 12px;
  margin-top: 6px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  background-color: #ffffff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

form input[type="text"]:focus, form input[type="date"]:focus, 
form select:focus, form textarea:focus {
  outline: none;
  border-color: #c4e0f9;
  box-shadow: 0 1px 4px rgba(169, 197, 224, 0.2);
}

form button {
  margin-top: 28px;
  padding: 12px 22px;
  background-color: #c4e0f9;
  color: #436b9a;
}

form button:hover {
  background-color: #a9c5e0;
}

/* Table Styles */
#search-student {
  width: 100%;
  padding: 14px;
  margin-bottom: 28px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 10px;
}

table th, table td {
  padding: 16px;
  text-align: left;
}

table th {
  background-color: #f0f6fc;
  color: #5a5a5a;
  font-weight: 500;
  font-size: 14px;
}

table tr {
  background-color: #ffffff;
  box-shadow: 0 1px 5px rgba(0,0,0,0.03);
  transition: all 0.3s ease;
  border-radius: 8px;
}

table tr:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 8px rgba(0,0,0,0.07);
}

/* General Table Styles */
.responsive-table {
  width: 100%;
  border-collapse: collapse;
}

.responsive-table th,
.responsive-table td {
  padding: 12px;
  border: 1px solid #e0e0e0;
}

/* Hidden Columns - Default (Visible on Desktop) */
.hidden-columns {
  display: table-cell;
}

/* Details Row - Initially Hidden */
.details-row {
  display: none;
}

.details-content {
  background-color: #f7f5f9;
  padding: 14px;
  font-size: 0.85em;
  color: #6d6d6d;
  line-height: 1.5;
  border-radius: 8px;
}

/* Toggle Button */
.toggle-btn {
  display: none;
  cursor: pointer;
  color: #a9c5e0;
  background-color: transparent;
  border: none;
}

.toggle-btn:hover {
  text-decoration: underline;
}

/* Responsive Design - Mobile View */
@media screen and (max-width: 768px) {
  .toggle-btn {
    display: inline-block;
  }
  .responsive-table th,
  .responsive-table td {
    font-size: 14px;
    text-align: left;
    padding: 10px;
    white-space: nowrap;
  }

  .hidden-columns {
    display: none;
  }

  .details-row {
    display: none;
  }
  .details-content {
    font-size: 0.8em;
  }
}

/* Slider Styles */
.slider-container {
  margin-bottom: 24px;
}

input[type="range"] {
  width: 100%;
  margin-top: 12px;
  -webkit-appearance: none;
  background: #e0e0e0;
  outline: none;
  opacity: 0.85;
  transition: opacity 0.2s;
  border-radius: 8px;
  height: 5px;
}

input[type="range"]:hover {
  opacity: 1;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  background: #c4e0f9;
  cursor: pointer;
  border-radius: 50%;
  border: 2px solid #ffffff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  background: #c4e0f9;
  cursor: pointer;
  border-radius: 50%;
  border: 2px solid #ffffff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Footer Styles */
footer {
  background-color: #ffffff;
  color: #6d6d6d;
  text-align: center;
  padding: 24px;
  position: fixed;
  bottom: 0;
  width: 100%;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.03);
  font-size: 14px;
}

/* General Navbar Styles */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  padding: 18px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  z-index: 1000;
  margin-bottom: 12px;
}

/* Logo Link */
.navbar .logo {
  color: #4a4a4a;
  font-size: 18px;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.navbar .logo img {
  height: 28px;
  width: auto;
}

/* Menu Links */
.navbar .menu {
  display: flex;
  align-items: center;
}

.navbar .menu a {
  color: #6d6d6d;
  text-decoration: none;
  font-size: 15px;
  margin-left: 32px;
  transition: color 0.2s ease;
  font-weight: 500;
}

/* Hover Effect for Links */
.navbar .menu a:hover {
  color: #a9c5e0;
}

/* Hamburger Icon (Hidden by Default) */
.navbar .icon {
  display: none;
  font-size: 22px;
  cursor: pointer;
  color: #6d6d6d;
}

/* Responsive Design for Smaller Screens */
@media screen and (max-width: 768px) {
  .navbar {
    padding: 15px 20px;
  }

  .navbar .menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  }

  .navbar.responsive .menu {
    display: flex;
  }

  .navbar .menu a {
    margin: 10px 0;
    padding: 8px 0;
  }

  .navbar .icon {
    display: block;
  }
}

/* Responsive Design for Smaller Screens */
@media screen and (max-width: 768px) {
  .navbar {
    flex-direction: row;
    align-items: flex-start;
    padding: 12px;
    width: calc(100%);
    margin-left: auto;
    margin-right: auto;
  }
  .navbar .logo img {
    width: 10%;
    height: 10%;
  }

  /* Hide links by default in mobile view */
  .menu a {
    display: none;
    width: 100%;
    text-align: left;
    padding-left: 20px;
  }

  /* Show links when "responsive" class is added */
  .navbar.responsive .menu a {
    display: block !important;
    margin-top: 12px;
    padding: 8px 0;
  }

  .navbar.responsive .menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .navbar .icon {
    display: block;
    font-size: 20px;
    cursor: pointer;
    margin-left: auto;
    color: #6d6d6d;
  }

  /* Hide the logo when the responsive menu is active */
  .navbar.responsive .logo {
    display: none !important;
  }
}

#student-info, #notes-logs, #score-graph {
  margin: 12px 0;
  padding: 20px;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

#notes-list li {
  margin-bottom: 8px;
  list-style-type: none;
  padding-left: 0;
}

.note-excerpt {
  font-weight: 500;
  color: #5a5a5a;
}

.note-full {
  font-style: italic;
  color: #6d6d6d;
  margin-top: 4px;
}

@media (min-width: 768px) {
  #student-card {
    margin-left: 12%;
    margin-right: 12%;
  }
}

#student-selection {
  margin: 12px 0 20px;
}

#student-selection label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #5a5a5a;
}

#student-selection select,
#student-selection button {
  margin: 12px 0;
}

#view-student-card:disabled {
  background-color: #e0e0e0;
  color: #9a9a9a;
  box-shadow: none;
}

.note-content {
  background-color: #f7f5f9;
  border-left: 4px solid #c4e0f9;
  padding: 16px 18px;
  margin-bottom: 18px;
  font-size: 14px;
  line-height: 1.6;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.note-content h1, .note-content h2, .note-content h3 {
  margin-top: 12px;
  margin-bottom: 12px;
  color: #4a4a4a;
}

.note-content p {
  margin: 0;
  color: #6d6d6d;
}

@media (max-width: 768px) {
  .note-content {
    font-size: 13px;
    padding: 12px;
  }
}

#pagination-controls button {
  margin: 0 5px;
  padding: 8px 12px;
  border: none;
  background-color: #f0f6fc;
  cursor: pointer;
  border-radius: 6px;
  font-size: 14px;
  color: #5a5a5a;
}

#pagination-controls button.active {
  background-color: #c4e0f9;
  color: #436b9a;
}

#pagination-controls button:hover:not(.active) {
  background-color: #e0ebf5;
}

/* Set up the grid layout for #student-card */
#student-card {
  display: grid;
  grid-template-areas:
    "student-selection student-selection"
    "student-info notes-logs"
    "score-graph score-graph";
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 12px;
}

/* Define specific areas for each section */
#student-selection {
  grid-area: student-selection;
}

#student-info {
  grid-area: student-info;
}

#notes-logs {
  grid-area: notes-logs;
}

#score-graph {
  grid-area: score-graph;
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {
  #student-card {
    grid-template-areas:
      "student-selection"
      "student-info"
      "notes-logs"
      "score-graph";
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    gap: 16px;
  }
}

section {
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  background-color: #ffffff;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  margin-bottom: 24px;
}

/* 
 * Modern Minimalistic CSS with Pastel Color Scheme
 * Inspired by gentle.guide
 */

:root {
  /* Pastel Color Palette */
  --primary: #a8d5ba;       /* Soft mint green */
  --primary-dark: #8fbfa8;  /* Darker mint */
  --secondary: #f8c8dc;     /* Soft pink */
  --accent: #b0c4de;        /* Pastel blue */
  --text-primary: #4a4a4a;  /* Dark gray for text */
  --text-secondary: #6e6e6e; /* Medium gray for secondary text */
  --background: #ffffff;    /* Clean white background */
  --background-alt: #f9f9f9; /* Slightly off-white for cards/sections */
  --border: #e6e6e6;        /* Light gray for borders */
  --success: #a8d5ba;       /* Using primary as success */
  --warning: #f8e8a8;       /* Soft yellow */
  --danger: #f8c8c8;        /* Soft red */
  
  /* Spacing & Layout */
  --spacing-xs: 5px;
  --spacing-sm: 10px;
  --spacing-md: 15px;
  --spacing-lg: 20px;
  --spacing-xl: 30px;
  --border-radius: 8px;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  
  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

/* General Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  color: var(--text-primary);
  background-color: var(--background);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--spacing-sm);
}

button {
  cursor: pointer;
  font-family: var(--font-family);
  transition: all 0.2s ease;
}

/* Main App Layout */
#todo-app {
  display: flex;
  flex-direction: row;
  height: auto;
  margin-top: 5%;
  margin-left: 2%;
  margin-right: 2%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Sidebar (Lists) */
#sidebar {
  display: none; /* Hidden by default on mobile */
  position: fixed; /* Make it cover the entire screen */
  top: 0;
  left: 0;
  width: 100%; /* Full screen width */
  height: 100%; /* Full screen height */
  background-color: var(--background); /* Background color for the sidebar */
  z-index: 999; /* Ensure it appears above other elements */
  padding: var(--spacing-lg);
  box-shadow: var(--shadow); /* Add a subtle shadow */
  overflow-y: auto; /* Allow scrolling if content exceeds screen height */
}

#sidebar,
#main-content {
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.hidden {
  transform: translateX(-100%); /* Slide out of view */
  opacity: 0; /* Fade out */
}

#sidebar h2 {
  margin-bottom: var(--spacing-md);
  font-size: 1.4rem;
  color: var(--text-primary);
}

#todo-lists {
  margin-top: var(--spacing-lg);
}

/* Main Content (Tasks) */
#main-content {
  flex-grow: 1;
  display: none; /* Hidden by default on mobile */
  padding: var(--spacing-lg);
}

/* Floating Mobile Menu */
#mobile-menu {
  position: fixed;
  bottom: var(--spacing-lg);
  left: var(--spacing-lg);
  width: 54px;
  height: 54px;
  border-radius: 50%; /* Make it round */
  background-color: var(--primary);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: var(--shadow);
  border: none;
  cursor: pointer;
  z-index: 1000; /* Ensure it stays above other content */
  transition: background-color 0.2s ease, transform 0.2s ease;
}

#mobile-menu:hover {
  background-color: var(--primary-dark);
  transform: scale(1.05);
}

#mobile-menu i {
  font-size: 22px; /* Icon size */
}

/* Desktop Styles */
@media screen and (min-width: 768px) {
  #todo-app {
    flex-direction: row;
    margin-top: 2%;
    gap: var(--spacing-xl);
  }

  #sidebar {
    display: block; /* Always visible on desktop */
    position: relative; /* Normal flow for desktop layout */
    width: 25%;
    border-right: 1px solid var(--border);
    padding: var(--spacing-lg);
    height: auto; /* Reset height for desktop layout */
    box-shadow: none; /* Remove shadow on desktop */
    overflow-y: visible; /* No scrolling needed for desktop layout */
    z-index: auto; /* Reset z-index for desktop layout */
    background-color: transparent; /* Reset background color for desktop layout */
  }

  #main-content {
    display: block; /* Always visible on desktop */
    width: 75%;
  }

  #mobile-menu {
    display: none; /* Hidden on desktop */
  }
  
  section {
    margin-left: 10%;
    margin-right: 10%;
  }
}

/* Task Styles */
#tasks-list {
  list-style-type: none;
  padding: 0;
}

.task-item {
  background-color: var(--background-alt);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-bottom: var(--spacing-md);
  padding: var(--spacing-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.task-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.task-content {
  flex-grow: 1;
}

.task-description {
  font-size: 16px;
  margin: 0;
  color: var(--text-primary);
}

/* Task Details */
.task-details {
  margin-left: 30px; /* Indent details to align with description */
  color: var(--text-secondary);
  font-size: 14px;
}

.task-actions button {
  background-color: transparent;
  color: var(--text-secondary);
  border: none;
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--border-radius);
  cursor: pointer;
  margin-left: var(--spacing-xs);
  transition: color 0.2s ease;
}

.task-actions button:hover {
  color: var(--primary);
}

/* Mobile-Specific Styles for Tasks */
@media (max-width: 768px) {
  .task-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .task-content {
    margin-bottom: var(--spacing-sm);
  }

  .task-description {
    font-size: 14px;
  }

  .task-details {
    font-size: 12px;
    margin-left: 0;
    margin-top: var(--spacing-xs);
    flex-direction: column;
    align-items: flex-start;
  }

  .task-actions {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    margin-top: var(--spacing-sm);
  }

  .task-actions button {
    font-size: 12px;
    padding: var(--spacing-xs) var(--spacing-sm);
  }
}

/* Task Row */
.task-row {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

/* Task Actions (Icon Buttons) */
.task-actions button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  margin-left: var(--spacing-xs);
  padding: var(--spacing-xs);
}

.task-actions button i {
  font-size: 16px;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.task-actions button:hover i {
  color: var(--primary-dark);
}

/* Completed Task Description */
.task-description.completed {
  text-decoration: line-through;
  color: var(--text-secondary);
}

/* List Item Styles */
.list-item {
  background-color: var(--background);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-bottom: var(--spacing-sm);
  padding: var(--spacing-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.list-item:hover {
  background-color: var(--background-alt);
  transform: translateX(3px);
}

.list-title {
  font-size: 16px;
  color: var(--text-primary);
}

.list-icon {
  font-size: 18px;
  color: var(--text-secondary);
}

.list-item.active {
  background-color: var(--primary);
  color: white;
  border-radius: var(--border-radius);
}

.list-item.active .list-title {
  font-weight: 600;
  color: white;
}

.list-item.active .list-icon {
  color: white;
}

/* Toggle Status Button */
.toggle-status {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  padding: var(--spacing-xs);
  color: var(--text-secondary);
  transition: transform 0.2s ease, color 0.2s ease;
}

.toggle-status:hover {
  transform: scale(1.2);
  color: var(--primary);
}

/* Modal Styles */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal-content {
  background-color: var(--background);
  width: 500px;
  max-width: 90%;
  max-height: 90%;
  padding: var(--spacing-xl);
  border-radius: var(--border-radius);
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  overflow-x: hidden;
  overflow-y: auto;
}

.modal-content h2 {
  margin-top: 0;
  font-size: 1.5rem;
  text-align: center;
  color: var(--text-primary);
}

.modal-content label {
  font-weight: 500;
  margin-bottom: var(--spacing-xs);
  color: var(--text-primary);
  display: block;
}

.modal-content input,
.modal-content select,
.modal-content textarea {
  width: 100%;
  padding: var(--spacing-sm);
  border-radius: var(--border-radius);
  border: 1px solid var(--border);
  font-size: 1rem;
  color: var(--text-primary);
  background-color: var(--background);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.modal-content input:focus,
.modal-content select:focus,
.modal-content textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(168, 213, 186, 0.25);
}

.modal-content textarea {
  min-height: 80px;
  resize: vertical;
}

.modal-content button {
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: var(--border-radius);
  border: none;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.modal-content button:hover {
  transform: translateY(-1px);
}

/* Button Styles */
#save-student {
  background-color: var(--primary);
  color: white;
}

#save-student:hover {
  background-color: var(--primary-dark);
}

#cancel-edit {
  background-color: var(--danger);
  color: white;
}

#cancel-edit:hover {
  background-color: #f0b5b5; /* Darker shade of danger */
}

/* Log Entries */
.edit-log-modal {
  display: flex;
}

#logs-container {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.log-entry {
  background-color: var(--background-alt);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: var(--spacing-lg);
  transition: transform 0.2s ease;
}

.log-entry:hover {
  transform: translateY(-2px);
}

.log-entry h3 {
  margin-top: 0;
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: var(--spacing-sm);
}

.log-details {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.log-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--spacing-sm);
}

.log-row p {
  margin: 0;
  color: var(--text-secondary);
}

.log-entry strong {
  color: var(--text-primary);
  font-weight: 500;
}

/* Score Colors */
.high-score {
  color: var(--success);
  font-weight: 600;
}

.medium-score {
  color: var(--warning);
  font-weight: 600;
}

.low-score {
  color: var(--danger);
  font-weight: 600;
}

/* Login Menu */
#login-menu {
  background-color: var(--background-alt);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  padding: var(--spacing-xs);
  margin: auto;
  text-align: center;
  position: relative;
  max-width: 400px;
  box-shadow: var(--shadow);
}

/* Mobile-Specific Styles for Tasks */
@media (max-width: 768px) {
	#login-menu {
		margin-right:2rem;
				}
	}

#login-menu form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

#login-menu input[type="text"],
#login-menu input[type="password"] {
  margin-bottom: var(--spacing-sm);
  padding: var(--spacing-sm);
  font-size: 14px;
  border-radius: var(--border-radius);
  border: 1px solid var(--border);
  transition: border-color 0.2s ease;
}

#login-menu input[type="text"]:focus,
#login-menu input[type="password"]:focus {
  outline: none;
  border-color: var(--primary);
}

#login-menu button {
  padding: var(--spacing-sm) var(--spacing-md);
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: var(--border-radius);
  transition: background-color 0.2s ease;
}

#login-menu button:hover {
  background-color: var(--primary-dark);
}

#login-menu a {
  display: block;
  margin-top: var(--spacing-sm);
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

#login-menu a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

#login-menu .login-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
}

#logout-button {
  padding: var(--spacing-xs) var(--spacing-sm);
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

#logout-button:hover {
  background-color: var(--primary-dark);
}

#login-toggle-btn {
  background-color: var(--primary);
  color: white;
  padding: var(--spacing-sm) var(--spacing-lg);
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  margin-bottom: var(--spacing-sm);
  transition: background-color 0.2s ease;
}

#login-toggle-btn:hover {
  background-color: var(--primary-dark);
}

.show-all-tasks-btn {
  background-color: var(--background-alt);
  color: var(--text-primary);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  padding: var(--spacing-sm) var(--spacing-lg);
  margin-top: var(--spacing-lg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

.show-all-tasks-btn:hover {
  background-color: var(--border);
}

.student-logs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
}

.student-log {
  border: 1px solid var(--border);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius);
  background-color: var(--background-alt);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.student-log:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

#app-container{
height:100% !important;
}