* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial,
    sans-serif;
  line-height: 1.6;
  color: #eeeeee;
  background-color: #15171b;
  /*padding-top: 40px;*/ /* or whatever your navbar height typically is */
  transition: padding-top 0.1s ease-out;
}

.main-content {
  max-width: 960px;
  width: 95%;
  margin: 0 auto;
  padding: 40px 20px;
}

h1 {
  text-align: center;
  margin-bottom: 40px;
  font-family: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial,
    sans-serif;
  color: #eeeeee;
  font-size: 2.5rem;
  font-weight: 700;
}

.form-container {
  max-width: 400px;
  width: 100%;
  margin: 0 auto;
  padding: 30px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

input {
  width: 100%;
  padding: 12px 16px;
  margin: 8px 0;
  border: 2px solid #e1e5e9;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.2s ease;
  background-color: #fff;
}

input:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.form-container button,
#resendSection button {
  width: 100%;
  padding: 12px;
  margin: 8px 0;
  background-color: #ff5353;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.2s ease;
}

button:hover {
  background-color: #ff535378;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 123, 255, 0.2);
}

button:active {
  transform: translateY(0);
}

.message {
  padding: 12px 16px;
  margin: 16px 0;
  border-radius: 8px;
  font-weight: 500;
}

.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.hidden {
  display: none;
}

a {
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
}

a:hover {
  text-decoration: underline;
}

#resendSection {
  margin-top: 20px;
  padding: 16px;
  background-color: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 8px;
}

.resend-button {
  background-color: #28a745 !important;
  margin-top: 12px;
}

.resend-button:hover {
  background-color: #218838 !important;
}

.forgot-password {
  text-align: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e1e5e9;
}

.quick-links {
  max-width: 400px;
  margin: 40px auto 0;
  text-align: center;
}

.quick-links h3 {
  margin-bottom: 16px;
  color: #555;
  font-size: 1.2rem;
}

.quick-links a {
  display: inline-block;
  margin: 8px 16px;
  padding: 8px 16px;
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  color: #495057;
  transition: all 0.2s ease;
}

.quick-links a:hover {
  background-color: #e9ecef;
  text-decoration: none;
  transform: translateY(-1px);
}

.debug-info {
  max-width: 960px;
  margin: 60px auto 0;
  padding: 20px;
  background-color: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid #007bff;
}

.debug-info h3 {
  margin-bottom: 12px;
  color: #495057;
}

.debug-info ul {
  list-style: none;
  color: #6c757d;
  font-size: 14px;
}

.debug-info li {
  margin: 4px 0;
  padding-left: 16px;
  position: relative;
}

.debug-info li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #007bff;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .main-content {
    padding: 20px 15px;
  }

  h1 {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .form-container {
    padding: 20px;
    margin: 0 10px;
  }

  input,
  button {
    font-size: 16px; /* Prevents zoom on iOS */
  }

  .quick-links a {
    display: block;
    margin: 8px 0;
  }
}

@media (max-width: 480px) {
  .main-content {
    width: 100%;
    padding: 20px 10px;
  }

  .form-container {
    margin: 0 5px;
    padding: 20px 15px;
  }

  h1 {
    font-size: 1.8rem;
  }
}

.sap-banner {
  display: flex;
  justify-content: center;
  padding-top: 40px; /* Adjust this value as needed */
  margin-bottom: 20px;
}

.sap-banner img {
  max-width: 90%;
  height: auto;
  object-fit: contain;
}

/* Subclass Selection Styles */
.subclass-selection-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.subclass-options {
  display: grid;
  gap: 20px;
  margin: 20px 0;
}

.subclass-option {
  background: #2a2a3a;
  border: 2px solid #444;
  border-radius: 8px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.subclass-option:hover {
  border-color: #ffd700;
  background: #353545;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(255, 215, 0, 0.3);
}

.subclass-option h4 {
  color: #ffd700;
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.subclass-option p {
  margin-bottom: 15px;
  color: #ccc;
}

.subclass-features {
  margin-bottom: 15px;
}

.subclass-features ul {
  list-style-type: none;
  padding-left: 0;
}

.subclass-features li {
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.subclass-features li:before {
  content: "•";
  color: #ffd700;
  position: absolute;
  left: 0;
}

.btn {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn-primary {
  background-color: #007bff;
  color: white;
}

.btn-primary:hover {
  background-color: #0056b3;
}

.btn-secondary {
  background-color: #6c757d;
  color: white;
}

.btn-secondary:hover {
  background-color: #545b62;
}

.navigation-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}
