* {
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0 0 60px 0;
  background: linear-gradient(120deg, #e0eafc 0%, #cfdef3 100%);
  color: #333;
  min-height: 100vh;
  position: relative;
}

main.container {
  padding: 24px;
  max-width: 700px;
  margin: 40px auto 0 auto;
  width: 95%;
  background: rgba(255,255,255,0.97);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  display: flex;
  flex-direction: column;
  gap: 28px;
}

h1 {
  text-align: center;
  font-size: 2.2rem;
  color: #4CAF50;
  letter-spacing: 1px;
  margin-bottom: 10px;
  font-weight: 600;
}

form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: #f8f9fa;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(76,175,80,0.07);
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #333;
}

input, select, button {
  padding: 12px;
  font-size: 1.08rem;
  margin-top: 4px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  background: #f7fbff;
  transition: border-color 0.2s;
}

input:focus, select:focus {
  border-color: #4CAF50;
  outline: none;
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

input[type="checkbox"] {
  width: auto;
  accent-color: #4CAF50;
  margin-top: 10px;
  align-self: start;
}

button {
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
  color: white;
  padding: 12px 25px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  width: 100%;
  box-shadow: 0 2px 8px rgba(76,175,80,0.08);
  transition: transform 0.2s, box-shadow 0.2s, background 0.3s;
}

button:disabled {
  background: #bcdffb;
  color: #666;
  cursor: not-allowed;
}

button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(76,175,80,0.12);
  background: linear-gradient(135deg, #388e3c 0%, #45a049 100%);
}

#result, #class-schedule {
  margin-top: 18px;
  font-size: 1.13rem;
  padding: 16px 14px;
  background: #f8f9fa;
  border-radius: 10px;
  word-wrap: break-word;
  box-shadow: 0 2px 8px rgba(76,175,80,0.06);
  color: #222;
  border-left: 4px solid #4CAF50;
}

#result b, #class-schedule b {
  color: #388e3c;
}

@media (max-width: 700px) {
  main.container {
    padding: 10px;
    max-width: 98vw;
  }
  h1 {
    font-size: 1.5rem;
  }
  input, select, button {
    font-size: 1rem;
    padding: 10px;
  }
  #result, #class-schedule {
    padding: 10px 6px;
    font-size: 1rem;
  }
}

/* Progress Bar Styles */
.progress-container {
  width: 100%;
  background-color: #e0e0e0;
  border-radius: 8px;
  margin: 15px 0;
  overflow: hidden;
}

.progress-bar {
  height: 20px;
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
  border-radius: 8px;
  transition: width 0.3s ease;
  position: relative;
}

.progress-text {
  position: absolute;
  width: 100%;
  text-align: center;
  color: white;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
  line-height: 20px;
}

/* Footer Styles */
footer {
  text-align: center;
  padding: 15px;
  background-color: #333;
  color: white;
  position: fixed;
  width: 100%;
  bottom: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1rem;
  letter-spacing: 1.2px;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

footer p {
  margin: 0;
  font-weight: 500;
}
