body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  display: flex;
  justify-content: center;
  min-height: 100vh;
  margin: 0;
  background-color: #000000;
  color: #e0e0e0;
  padding: 10px;
}

#app-container {
  width: 100%;
  max-width: 500px;
  margin: 20px auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card {
  background-color: #1a1a1a;
  border-radius: 12px;
  border: 1px solid #333;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  padding: 20px;
}

.main-header {
  text-align: center;
  color: #007bff;
  margin-bottom: 20px;
}

.main-header h1 {
  font-size: 1.4rem;
  margin: 0 0 10px;
  line-height: 1.2;
}

.main-header .small-text {
  font-size: 0.75em;
  font-weight: normal;
  color: #b0b0b0;
}

.main-header .schedule-title {
  font-weight: bold;
  font-size: 1.2rem;
}

@media (max-width: 480px) {
  .main-header h1 {
    font-size: 1.2rem;
  }
  .main-header .schedule-title {
    font-size: 1.0rem;
  }
}

#search-card {
  text-align: center;
}

.mode-toggle {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 28px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #007bff;
  transition: .4s;
  border-radius: 28px;
}

#date-wrapper {
  cursor: pointer;
  padding: 5px 0;
  border-radius: 6px;
  transition: background-color 0.2s;
  margin-bottom: 20px;
}

#date-wrapper:hover {
  background-color: #1a1a1a;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

#current-date {
  margin: 0;
  color: #b0b0b0;
  font-size: 16px;
}

#input-wrapper {
  display: flex;
  gap: 10px;
  flex-direction: column;
}

input:checked+.slider:before {
  transform: translateX(22px);
}

.input-container {
  position: relative;
  width: 100%;
}

#rollInput,
#department-input,
#department-select {
  padding: 12px 15px;
  font-size: 16px;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #007bff;
  border-radius: 12px;
  background-color: #0d0d0d;
  color: #e0e0e0;
}

.search-button-wrapper {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}

button {
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  background-color: #007bff;
  color: white;
  border-radius: 8px;
  transition: background-color 0.2s ease, transform 0.1s ease;
  white-space: nowrap;
}

button:hover:not(:disabled) {
  background-color: #0056b3;
  transform: translateY(-1px);
}

button:disabled {
  background-color: #333;
  color: #888;
  cursor: not-allowed;
}

#student-results-container {
  display: none;
  flex-direction: column;
  gap: 20px;
}

#faculty-results-container {
  display: none;
}

.result-card h3,
.result-card h4 {
  margin-top: 0;
  color: #007bff;
  border-bottom: 1px solid #222;
  padding-bottom: 10px;
  margin-bottom: 15px;
}

.result-card p {
  margin: 0 0 10px 0;
  line-height: 1.6;
  color: #b0b0b0;
}

.result-card strong {
  color: #e0e0e0;
}

#guideline-title {
  display: block;
  margin-bottom: 8px;
}

#result-status {
  margin-top: 20px;
  font-size: 18px;
  font-weight: 500;
  color: #b0b0b0;
  text-align: center;
}

#faculty-results-container ul {
  list-style-type: none;
  padding: 0;
  text-align: left;
}

#faculty-results-container li {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #222;
}

#faculty-results-container li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.report-issue-card {
  text-align: center;
  padding: 15px;
}

.issue-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.2s ease;
  border: none;
}

.issue-button:hover {
  background-color: #0056b3;
  transform: translateY(-1px);
}

.disclaimer {
  font-size: 11px;
  color: #888;
  margin-top: 10px;
  text-align: center;
}

.copyright {
  font-size: 12px;
  color: #888;
  text-align: center;
  margin-top: 10px;
  font-weight: 500;
}