body {
  background-color: #121212;
  color: #E0E0E0;
  font-family: 'Segoe UI', sans-serif;
  text-align: center;
}


h1 {
    color:rgb(224, 224, 224)
}

h2 {
    color: rgb(1,1,255)
}

p {
    color: rgb(26, 115, 232);
}

a {
  color: rgb(224, 224, 224);
}

ul {
  background-color: rgba(255, 255, 255, 0.05);    
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  margin-bottom: 16px;
}

li {
  background-color: rgba(0, 0, 255, 0.3);  
  -webkit-backdrop-filter: blur(6px);        
  backdrop-filter: blur(6px);
  padding: 10px 16px;
  border-radius: 10px;
  margin-bottom: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  color: white;
  border-left: 4px solid rgba(255, 255, 255, 0.15); 
  transition: background-color 0.2s ease, transform 0.2s ease;
}

li:hover {
  background-color: rgba(0, 0, 255, 0.5);
  transform: scale(1.02);
}

form {
    margin-top: 20px;
}

button {
  background-color: rgba(0, 0, 255, 0.35);
  -webkit-backdrop-filter: blur(8px);  
  backdrop-filter: blur(8px); 
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

button:hover {
  background-color: rgba(0, 0, 255, 0.5);
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  cursor: pointer;
}

button:active {
    opacity: 0.5;
}







.home_create_button{
  background-color: rgba(0, 0, 255, 0.35);
  -webkit-backdrop-filter: blur(8px);  
  backdrop-filter: blur(8px); 
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
  width: 100px;
  height: 30px;
  padding: 30px 100px;
  border-radius: 12px;
  font-size: 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

nav {
    margin-left: 10px;
    margin-top: 10px;
    padding: 50 px;

}

.title_bar {
    margin-left: 1px;
    margin-top: 10px;
    padding: 50px;
    background-color: rgba(0, 0, 255, 0.35);
    -webkit-backdrop-filter: blur(8px);  
    backdrop-filter: blur(8px); 
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 16px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.title_bar:hover {
  background-color: rgba(0, 0, 255, 0.5);
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.create{
  background-color: rgba(0, 0, 255, 0.35);
  -webkit-backdrop-filter: blur(8px);  
  backdrop-filter: blur(8px); 
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.login {
  background-color: rgba(0, 0, 255, 0.35);
  -webkit-backdrop-filter: blur(8px);  
  backdrop-filter: blur(8px); 
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.login:hover {
    cursor: pointer;
    opacity: 0.8;
}

.login:active {
    opacity: 0.5;
}

.sidebar {
  height: 100vh;
  width: 220px;
  position: fixed;
  left: 0;
  top: 0;
  background-color: rgba(0, 0, 255, 0.35); 
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  padding-top: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

  

.task {
    padding: 10px;
    background: rgb(26, 115, 232);   
    border-radius: 6px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
  }
  
.task--completed {
    background: rgb(26, 115, 232);
    text-decoration: line-through;
    font-style: italic;
    opacity: 0.75;
  }
  
.task--completed:hover {
    opacity: 1;
  }
  
.task__header {
    font-weight: bold;
    margin-bottom: 4px;
  }
  
.task__type {
    font-weight: normal;
    font-size: 0.9em;
    color: rgb(0, 42, 255);                  
  }
  
.task__body {
    margin-top: 6px;
  }
  
.task__actions {
    margin-top: 10px;
    align-items: center;  
    gap: 6px;
    margin-top: 5px;
  }
  
.task__badge {
    display: inline-block;
    background-color: rgb(212, 237, 218);        
    color: rgb(21, 87, 36);                    
    padding: 3px 6px;
    font-size: 0.85em;
    border-radius: 4px;
  }

#calendar {
    
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    
}


.calendar-grid, .week-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1em;
    margin: 1em 0;
  }
  
  .calendar-cell {
    padding: 0.5em;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: rgb(26, 115, 232);   
    min-height: 100px;
  }
  
  .calendar-cell.today {
    border: 2px solid #ffc107;
    background: rgb(26, 115, 232);   
  }
  
  .task-badge {
    background-color: #41ff07;
    color: #212529;
    border-radius: 4px;
    padding: 0.3em;
    margin-top: 0.3em;
    font-size: 0.9em;
  }
  
  .exam-badge {
    background-color: #17a2b8;
    color: #fff;
    border-radius: 4px;
    padding: 0.3em;
    margin-top: 0.3em;
    font-size: 0.9em;
  }

.task-badge_empty{
    background-color: #ffc107;
    color: #212529;
    border-radius: 4px;
    padding: 0.3em;
    margin-top: 0.3em;
    font-size: 0.9em;
}


/* Hide checkbox */
#menu-toggle {
  display: none;
}

/* Menu icon */
.menu-icon {
  position: fixed;
  top: 10px;
  left: 15px;
  background-color: #1565c0;
  color: white;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 20px;
  border-radius: 4px;
  z-index: 1001;
}

/* Sidebar container */
.sidebar {
  border-radius: 10px;
  position: fixed;
  top: 60px;
  left: 0;
  width: 250px;
  height: 100vh;
  overflow: hidden;
  transition: transform 0.3s ease;
  transform: translateX(-110%);
  z-index: 1000;
  box-shadow: 0 0 10px 5px #0d00ff;
}

/* Slide in when toggled */
#menu-toggle:checked ~ .sidebar {
  transform: translateX(0);
}

/* Sidebar content */
.sidebarcontent {
  background-color: none;
  color: white;
  height: 100%;
  padding-top: 60px;
}


.sidebarbutton {
  background-color: rgba(0, 0, 255, 0.35);
  -webkit-backdrop-filter: blur(8px);  
  backdrop-filter: blur(8px); 
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.sidebarbutton:hover {
  background-color: rgba(0, 0, 255, 0.5);
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}


.progress-ring {
  position: relative;
  margin-left: 45%;
  width: 120px;
  height: 120px;
}

.progress-ring__svg {
  transform: rotate(-90deg);
}

.progress-ring__circle--value {
  transition: stroke-dashoffset 0.6s ease;
}

.progress-ring__text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: bold;
  font-size: 1.2em;
}

.select_subject_in_task {
  margin-top: 10px;
}



.wrapper {
  margin: 0 auto;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 10px;
  max-width: 300px;
}

.ring {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: conic-gradient(#4CAF50 0%, #ccc 0%);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2em;
  color: #333;
}

#display {
  text-align: center;
}

.wrapper.stopped #ring,
.wrapper.stopped #display {
  opacity: 0.6;
}

.subject-label {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 12px;
  color: white;
  font-weight: 500;
  font-size: 0.9em;
  margin-bottom: 6px;
}

.task__importance {
  font-weight: bold;
  margin-top: 6px;
}

.select-pill {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  padding: 8px 16px;
  font-size: 14px;
  border: 2px solid #2196F3;
  border-radius: 25px;
  background-color: #f4f8fb;
  color: #333;
  cursor: pointer;
  margin-bottom: 10px;
  outline: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.select-pill:hover {
  border-color: #1976D2;
}

.select-pill:focus {
  box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.3);
}


.toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #333;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  opacity: 0.9;
}



.error-page {
  background-color: #121212;
  color: #E0E0E0;
  font-family: 'Segoe UI', sans-serif;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
}


.error-container {
  max-width: 600px;
  padding: 2rem;
}


.error-code {
  font-size: 6rem;
  color: rgb(224, 224, 224);
  margin-bottom: 0.5rem;
}


.error-message {
  font-size: 1.25rem;
  color: rgb(26, 115, 232);
  margin-bottom: 2rem;
}

/* Link */
.error-link {
  text-decoration: none;
  color: rgb(1, 1, 255);
  font-weight: bold;
  transition: color 0.3s ease;
}

.error-link:hover {
  color: rgb(100, 100, 255);
}


/* Global body styles */
.auth-body {
  background-color: #121212;
  color: #E0E0E0;
  font-family: 'Segoe UI', sans-serif;
  text-align: center;
  margin: 0;
  padding: 0;
}

/* Heading styles */
.auth-title {
  color: rgb(224, 224, 224);
  margin-top: 40px;
  font-size: 2.2rem;
  letter-spacing: 1px;
}

/* Form container */
.auth-form {
  background-color: rgba(255, 255, 255, 0.05);
  max-width: 380px;
  margin: 30px auto;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

/* Form inputs */
.auth-input {
  width: 90%;
  padding: 12px;
  margin: 10px 0;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  background-color: #1E1E1E;
  color: #E0E0E0;
  outline: none;
  transition: background 0.3s;
}

.auth-input:focus {
  background-color: #2a2a2a;
}

/* Submit button */
.auth-button {
  width: 90%;
  padding: 12px;
  margin: 10px 0;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: bold;
  background-color: rgb(26, 115, 232);
  color: white;
  cursor: pointer;
  transition: background-color 0.3s;
}

.auth-button:hover {
  background-color: rgb(1, 1, 255);
}

/* Links */
.auth-link {
  display: inline-block;
  margin-top: 15px;
  text-decoration: none;
  color: rgb(26, 115, 232);
  transition: color 0.3s;
}

.auth-link:hover {
  color: rgb(1, 1, 255);
}


textarea {
  background-color: #f9f9fc;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 14px;
  font-size: 1rem;
  line-height: 1.5;
  color: #333;
  resize: vertical;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

textarea:focus {
  border-color: #6c63ff;
  box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.2);
  outline: none;
}



.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px;
}

.admin-header {
    background-color: #222;
    color: #fff;
    padding: 20px 0;
}

.admin-header h1 {
    margin: 0;
}

.admin-nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 15px;
}

.admin-nav a {
    color: #fff;
    text-decoration: none;
}

.dashboard-intro h2 {
    margin-top: 0;
}

.subtitle {
    color: #666;
    font-size: 0.95em;
}

.dashboard-panels {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.panel {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    flex: 1;
    border-radius: 6px;
}

.button {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 12px;
    background-color: #0057b8;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
}

.admin-footer {
    text-align: center;
    padding: 20px;
    font-size: 0.85em;
    color: #888;
}


.container_support {
      max-width: 500px;
      margin: auto;
      background: white;
      padding: 40px;
      border-radius: 8px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

.support-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 500px;
  margin: 0 auto;
  gap: 1rem;
}

.support-form label {
  align-self: flex-start;
  font-weight: bold;
  margin-top: 0.5rem;
}

.support-form input,
.support-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #333;
  border-radius: 4px;
  background-color: #1e1e1e;
  color: #E0E0E0;
}

.support-form button {
  background-color: rgb(1, 1, 255);
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}

.support-form button:hover {
  background-color: rgb(26, 115, 232);
}


.container_support {
  max-width: 600px;
  margin: 6rem auto;
  padding: 2rem;
  background-color: #1e1e1e;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  text-align: center;
}

.container_support h1 {
  color: rgb(224, 224, 224);
  margin-bottom: 1rem;
}

.container_support p {
  color: rgb(26, 115, 232);
  font-size: 1rem;
  margin-bottom: 2rem;
}

.return-button {
  background-color: rgb(1, 1, 255);
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1rem;
}

.return-button:hover {
  background-color: rgb(26, 115, 232);
}


/* About page custom styles */
.about-body {
    background-color: #121212;
    color: #E0E0E0;
    font-family: 'Segoe UI', sans-serif;
    text-align: center;
    margin: 0;
    padding: 0;
}

.about-container {
    background: rgba(255,255,255,0.05);
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.25);
    max-width: 540px;
    margin: 48px auto 0 auto;
    padding: 36px 32px 28px 32px;
    text-align: center;
}

.about-title {
    color: rgb(224, 224, 224);
    font-size: 2.4rem;
    margin-bottom: 0.5em;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.about-subtitle {
    color: rgb(1,1,255);
    font-size: 1.3rem;
    margin-bottom: 1.2em;
    font-weight: 500;
}

.about-lead {
    color: rgb(26, 115, 232);
    font-size: 1.1rem;
    margin-bottom: 1.5em;
    line-height: 1.6;
}

.about-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2em 0;
}

.about-features li {
    background: rgba(0, 0, 255, 0.25);
    color: #fff;
    margin: 0.5em 0;
    padding: 0.7em 0.5em;
    border-radius: 8px;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: background 0.2s;
}

.about-features li:hover {
    background: rgba(0, 0, 255, 0.4);
}

.about-contact p {
    color: rgb(26, 115, 232);
    margin-bottom: 1em;
    font-size: 1rem;
    line-height: 1.7;
}

.about-contact a {
    color: rgb(224, 224, 224);
    text-decoration: underline;
    transition: color 0.2s;
}

.about-contact a:hover {
    color: rgb(1,1,255);
}

.about-home-btn {
    background-color: rgba(0, 0, 255, 0.35);
    border: 1px solid rgba(255,255,255,0.15);
    color: white;
    padding: 10px 32px;
    border-radius: 12px;
    font-size: 1.1rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: background-color 0.2s, box-shadow 0.2s;
    margin-top: 0.5em;
    font-family: inherit;
}

.about-home-btn:hover {
    background-color: rgba(0, 0, 255, 0.5);
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    cursor: pointer;
}

.about-version {
    margin-top: 2em;
    color: rgb(224,224,224);
    font-size: 1rem;
    opacity: 0.7;
    letter-spacing: 0.5px;
}

/* --- Index landing page custom styles --- */
.index-hero {
    max-width: 520px;
    margin: 72px auto 0 auto; /* less space at top, accounts for navbar height */
    padding: 24px 24px 32px 24px;
    background: rgba(18,18,18,0.98);
    border-radius: 18px;
    box-shadow: 0 6px 32px rgba(0,0,0,0.35);
    text-align: center;
}

.index-title {
    color: #E0E0E0;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.3em;
    letter-spacing: 0.5px;
}

.studura-accent {
    color: #fff;
    background: linear-gradient(90deg, #1a73e8 0%, #0033ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.index-lead {
    color: #b3c7f7;
    font-size: 1.15em;
    margin-bottom: 1.5em;
    font-weight: 500;
}

.index-nav {
    margin: 1.7em 0 1.2em 0;
}

.index-nav a {
    margin: 0 8px;
}

.index-features ul {
    background: rgba(255,255,255,0.04);
    border: none;
    box-shadow: none;
    margin: 0 auto;
    max-width: 340px;
}

.index-features li {
    background: rgba(26,115,232,0.18);
    color: #fff;
    margin: 0.5em 0;
    padding: 0.7em 0.5em;
    border-radius: 8px;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: background 0.2s;
}

.index-features li:hover {
    background: rgba(26,115,232,0.32);
}

.index-version {
    margin-top: 2em;
    color: #b3c7f7;
    font-size: 0.95em;
    opacity: 0.7;
    letter-spacing: 0.5px;
    text-align: center;
}

/* --- Main navigation bar styles --- */
.main-navbar {
    width: 100%;
    background: rgba(18,18,18,0.98);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5em 2em 0.5em 2em;
    box-shadow: 0 2px 16px rgba(0,0,0,0.18);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    min-height: 56px;
    box-sizing: border-box;
}

.navbar-logo {
    display: flex;
    align-items: center;
    font-size: 1.2em;
    letter-spacing: 1px;
}

.navbar-links {
    display: flex;
    gap: 0.5em;
    flex-wrap: wrap;
}

.navbar-links a {
    margin: 0;
}

.navbar-btn {
    background-color: rgba(0, 0, 255, 0.35);
    -webkit-backdrop-filter: blur(8px);  
    backdrop-filter: blur(8px); 
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 16px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    margin: 0 2px;
    min-width: 90px;
}

.navbar-btn:hover {
    background-color: rgba(0, 0, 255, 0.5);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    cursor: pointer;
}

.index-hero {
    max-width: 520px;
    margin: 72px auto 0 auto; /* less space at top, accounts for navbar height */
    padding: 24px 24px 32px 24px;
    background: rgba(18,18,18,0.98);
    border-radius: 18px;
    box-shadow: 0 6px 32px rgba(0,0,0,0.35);
    text-align: center;
}

.studura-topright {
    position: absolute;
    top: 24px;
    left: 32px;
    right: auto;
    z-index: 200;
}