* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
  background: url('/assets/MainBackground.jpg') no-repeat center center fixed;
  background-size: cover;
  min-height: 100vh;
}

/* Header */
.header {
  background-color: transparent;
  padding: 1.5rem 2rem;
  text-align: left;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
}

.logo img {
  height: 60px;
  width: auto;
}

.logo h1 {
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
}

/* Auth Section */
.auth-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem;
  padding-top: 120px;
}

.auth-container {
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
  width: 100%;
  max-width: 500px;
  overflow: hidden;
}

.disclaimer-box {
  background: rgba(0, 0, 0, 0.4);
  color: white;
  padding: 2rem;
  border-radius: 8px 8px 0 0;
  font-size: 0.95rem;
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.disclaimer-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}

.disclaimer-content h3 {
  margin: 0 0 0.75rem 0;
  font-size: 1.3rem;
  font-weight: 600;
  color: #ffffff;
}

.disclaimer-box p {
  margin: 0 0 0.75rem 0;
  color: rgba(255, 255, 255, 0.95);
}

.disclaimer-box p:last-child {
  margin-bottom: 0;
}

.disclaimer-subtitle {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 1rem !important;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.auth-tabs {
  display: flex;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.tab-btn {
  flex: 1;
  padding: 1rem;
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
  color: rgba(255, 255, 255, 0.6);
}

.tab-btn:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.tab-btn.active {
  color: #ffffff;
  border-bottom: 3px solid #ff6b35;
}

.auth-form {
  padding: 2rem;
}

.auth-form h2 {
  margin-bottom: 1.5rem;
  color: #ffffff;
  font-size: 1.5rem;
}

.auth-form h3 {
  margin: 2rem 0 1rem 0;
  padding-bottom: 0.5rem;
  color: #ffffff;
  font-size: 1.1rem;
  border-bottom: 2px solid rgba(255, 107, 53, 0.3);
  position: relative;
}

.auth-form h3::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: #ff6b35;
}

.helper-text {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: rgba(255, 255, 255, 0.9);
}

.form-group input {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  font-size: 1rem;
  transition: all 0.3s;
  background: rgba(255, 255, 255, 0.9);
  color: #333;
}

.form-group select {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  font-size: 1rem;
  transition: all 0.3s;
  background: rgba(255, 255, 255, 0.9);
  color: #333;
  cursor: pointer;
}

.form-group input:focus {
  outline: none;
  border-color: #ff6b35;
  background: rgba(255, 255, 255, 1);
}

.form-group select:focus {
  outline: none;
  border-color: #ff6b35;
  background: rgba(255, 255, 255, 1);
}

.form-group small {
  display: block;
  margin-top: 0.25rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.checkbox-group {
  margin: 1rem 0;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  font-weight: normal;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.9);
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-right: 0.5rem;
  cursor: pointer;
}

/* Password toggle styles */
.password-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.password-input-wrapper input {
  flex: 1;
  padding-right: 3rem;
}

.toggle-password {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}

.toggle-password:hover {
  opacity: 0.7;
}

.toggle-password .eye-icon {
  font-size: 1.25rem;
  user-select: none;
}

.error-message {
  color: #ff6b6b;
  background-color: rgba(255, 107, 107, 0.15);
  padding: 0.75rem;
  border-radius: 5px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  border: 1px solid rgba(255, 107, 107, 0.3);
}

.success-message {
  color: #51cf66;
  background-color: rgba(81, 207, 102, 0.15);
  padding: 0.75rem;
  border-radius: 5px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  border: 1px solid rgba(81, 207, 102, 0.3);
}

.preview-message a {
  color: #9cf0a7;
  font-weight: bold;
}

.verification-actions {
  margin-bottom: 1rem;
  padding: 0.9rem;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.verification-actions p {
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
}

.secondary-btn {
  width: 100%;
  padding: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 5px;
  background: transparent;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}

.secondary-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.38);
}

.submit-btn {
  width: 100%;
  padding: 1rem;
  background-color: #ff6b35;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

.submit-btn:hover {
  background-color: #e65a2b;
}

.form-footer {
  margin-top: 1.5rem;
  text-align: center;
}

.form-footer a {
  color: #ff6b35;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.form-footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Footer */
.footer {
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 1.5rem;
  text-align: center;
  margin-top: auto;
}

.footer-links a {
  color: white;
  text-decoration: none;
  margin: 0 0.5rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #ff6b35;
}

/* Responsive */
@media (max-width: 768px) {
  .auth-section {
    padding: 1rem;
  }

  .auth-container {
    max-width: 100%;
  }

  .auth-form {
    padding: 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

/* Modal styling */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  overflow-y: auto;
}

.modal-content {
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid #ddd;
}

.close-btn {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #666;
  transition: color 0.2s;
}

.close-btn:hover {
  color: #000;
}

.modal-body {
  padding: 1.5rem;
}
