@import url('https://fonts.googleapis.com/css2?family=Gabarito:wght@400;500;600;700&display=swap');

body {
  font-family: 'Gabarito', sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-image: url('/images/bg.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  color: #22382D;
}

.logo {
  cursor: pointer;
}

/* Container wrapper */
.container-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 600px;
  min-height: 100vh;
  padding: 20px;
  box-sizing: border-box;
}

/* Sign-up container */
.signup-container {
  background-color: #22382D;
  width: 100%;
  max-width: 500px;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  color: white;
  box-sizing: border-box;
}

/* Heading */
.signup-container h3 {
  font-family: 'Gabarito', sans-serif;
  font-weight: 600;
  text-align: center;
  margin-bottom: 8px;
  color: white;
  font-size: 20px;
  letter-spacing: 0.5px;
}

.signup-container p {
  font-family: 'Gabarito', sans-serif;
  font-weight: 400;
  text-align: center;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1.4;
}

/* Stepper Styles */
.steps-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 0 0 30px 0;
  padding: 0 10px;
}

.step-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #9ca3af;
  flex: 1;
  min-width: 80px;
  text-align: center;
}

.step-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Gabarito', sans-serif;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}

.step-indicator.completed .step-circle {
  background-color: #4CAF50;
  border-color: #4CAF50;
  color: white;
  font-family: 'Gabarito', sans-serif;
}

.step-indicator.active .step-circle {
  background-color: #4CAF50;
  border-color: #4CAF50;
  color: white;
  font-family: 'Gabarito', sans-serif;
}

.step-label {
  font-family: 'Gabarito', sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  font-weight: 500;
  letter-spacing: 0.2px;
  line-height: 1.2;
}

.step-indicator.active .step-label {
  font-weight: 600;
  color: #4CAF50 !important;
}

.step-indicator.completed .step-label {
  color: #4CAF50 !important;
  font-weight: 600;
}

.step-indicator.upcoming .step-label {
  font-weight: 500;
  color: white !important;
}

.step-line {
  height: 2px;
  background-color: rgba(255, 255, 255, 0.2);
  flex-grow: 1;
  margin: 0 10px;
  align-self: flex-start;
  margin-top: 16px;
}

.step-line.active {
  background-color: #4CAF50;
}

.step-line.completed {
  background-color: #4CAF50;
}

/* Labels for form fields */
.signup-container label {
  display: block;
  font-family: 'Gabarito', sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.3px;
  margin-bottom: 8px;
  color: white;
}

/* Input Fields */
.signup-container input[type="text"],
.signup-container input[type="email"],
.signup-container input[type="password"] {
  width: 100%;
  padding: 12px 16px;
  margin-bottom: 20px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  font-family: 'Gabarito', sans-serif;
  font-weight: 400;
  font-size: 15px;
  display: block;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

.signup-container input[type="text"]:focus,
.signup-container input[type="email"]:focus,
.signup-container input[type="password"]:focus {
  outline: none;
  border-color: #4CAF50;
  background-color: rgba(255, 255, 255, 0.15);
}

.signup-container input[type="text"]::placeholder,
.signup-container input[type="email"]::placeholder,
.signup-container input[type="password"]::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

/* Password Strength Checker Styles */
#password-requirements {
  margin-left: 10px; /* move to the right a bit */
  margin-top: -10px; /* move up a bit */
  width: 90%;
  font-size: 14px;
}

/* Mobile responsive password requirements */
@media (max-width: 768px) {
  #password-requirements {
    margin-left: -15px !important;
    margin-right: 75px !important;
    width: calc(100% - 60px) !important;
  }
}

@media (max-width: 480px) {
  #password-requirements {
    margin-left: -15px !important;
    margin-right: 75px !important;
    width: calc(100% - 60px) !important;
  }
}

@media (max-width: 360px) {
  #password-requirements {
    margin-left: -15px !important;
    margin-right: 75px !important;
    width: calc(100% - 60px) !important;
  }
}

#password-requirements ul {
  padding-left: 0;
  margin: 0;
  list-style: none;
}

#password-requirements li {
  margin: 5px 0;
  padding-left: 0;
  color: white;
}

#password-requirements {
  font-family: 'Gabarito', sans-serif;
  font-weight: 400;
}

#password-requirements li.valid {
  color: #4CAF50;
}

#password-requirements li.invalid {
  color: white;
}

#password-requirements li.valid::before {
  content: "✔ ";
  color: #4CAF50;
  margin-right: 10px;
}

#password-requirements li.invalid::before {
  content: "✘ ";
  color: white;
  margin-right: 10px;
}

/* Terms and Conditions - normal weight, aligned */
.checkbox-group {
  margin: 15px 0 0 20px;
  font-family: 'Gabarito', sans-serif;
  font-weight: 400;
  font-size: 12px;
  color: white;
}

/* Terms checkbox label as flex to align checkbox and text horizontally */
.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0; /* Remove default margin */
  font-family: 'Gabarito', sans-serif;
  font-weight: 400; /* No bold */
  color: white;
}

/* Checkbox input spacing */
.checkbox-group input[type="checkbox"] {
  margin: 0;
  flex-shrink: 0;
}

/* Terms links styling */
.checkbox-group a {
  color: #4CAF50;
  font-family: 'Gabarito', sans-serif;
  text-decoration: underline;
  font-weight: 400;
}

.checkbox-group a:hover {
  color: #45a049;
}

/* Submit Button */
.signup-container .btn-primary {
  display: block;
  width: 100%;
  margin: 30px 0 20px 0;
  padding: 14px;
  background-color: #225ca6;
  color: white;
  border: none;
  border-radius: 8px;
  font-family: 'Gabarito', sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s ease;
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.signup-container .btn-primary:hover {
  background-color: #1a4a8a;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.signup-container .btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  transition: all 0.1s ease;
}

/* Footer text */
.signup-container .footer-text {
  margin-top: 20px;
  text-align: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
}

.signup-container .footer-text {
  font-family: 'Gabarito', sans-serif;
  font-weight: 400;
}

.signup-container .footer-text a {
  color: #4CAF50;
  font-family: 'Gabarito', sans-serif;
  font-weight: 500;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.signup-container .footer-text a:hover {
  color: #45a049;
}

/* Error styling */
.error-input {
  border-color: #ff4444 !important;
  box-shadow: 0 0 5px rgba(255, 68, 68, 0.3) !important;
}

.error-message {
  color: #ff4444;
  font-size: 12px;
  margin-top: 5px;
  display: block;
}
