*{
  padding: 0;
  margin: 0;
  /* Comment/remove --display-groups to show groups */
  --display-groups: none; 
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
    Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  background-color: #f0f0f0;
  color: #222;
}

.vertical-line {
  border-left: 3px solid #ccc;
  min-height: 100%;
  margin: 10px 0 ;
}
.horizontal-bar {
  border-top: 3px solid #ccc;
  width: 50%;
  margin: 5px auto;
}

.days {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
}
.day {
  display: flex;
  flex-direction: column;
  padding: 5px 0;
  width: calc(100vw / 3 - 1vw);

  & h2 {
    text-align: center;
    font-weight: 800;
    margin-top: 10px;
  }
  &:not(:has(custom-card.timetable)) {
    display: none;
  }
}
@media screen and (max-width: 1200px) {
  .day {
    width: calc(100vw / 2 - 1.5vw);
  }
}
@media screen and (max-width: 745px) {
  .day {
    width: 100vw;
  }
}
custom-card {
  display: block;
  width: 90%;
  margin: 20px auto;
  padding: 10px;
  background-color: #fff;
  box-shadow: #999 0px 6px 10px;
  border: 1px solid #ccc;
  border-radius: 20px;
}

custom-card.timetable {
  display: flex;
  width: auto;
  flex-direction: row;
  margin: 5px 10px;
}



custom-card.timetable #time {
  display: flex;
  flex-direction: column;
  margin: auto 15px;

  & #start, #end {
    font-weight: 700;
    font-size: 1.1rem;
  }
}
custom-card.timetable #info {
  font-size: 1em;
  margin: 0 15px;

  & h3 {
    font-weight: 800;
    font-size: 1.2em;
    margin-bottom: 2px;
  }
  & #group {
    display: var(--display-groups);
  }
}

/* Form Styling */
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 400px;
  margin: 20px auto;
}

label {
  font-weight: 600;
  font-size: 0.95rem;
  color: #333;
  margin-bottom: -10px;
}

input[type="url"],
input[type="email"],
input[type="password"] {
  padding: 12px 15px;
  border: 2px solid #ccc;
  border-radius: 10px;
  font-size: 1rem;  
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background-color: #fff;
}

input[type="url"]:focus,
input[type="email"]:focus,
input[type="password"]:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  accent-color: #007bff;
}

.checkbox-container {
  display: flex;
  align-items: center;
  margin: 5px 0;
}

.checkbox-container label {
  margin-bottom: 0;
  cursor: pointer;
}

button[type="submit"] {
  padding: 12px 20px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-top: 10px;
}

button[type="submit"]:hover {
  background-color: #0056b3;
  transform: translateY(-1px);
}

button[type="submit"]:active {
  transform: translateY(0);
}

custom-card.auth-card {
  max-width: 450px;
}
