body {
  background-color: var(--light-gray);
  margin: 0;
  padding: 0;
  color: var(--text-color);

  /* ⬇️ Vertically center content */
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.container {
  background-color: #fff; /* Ensures form card stays white */
  max-width: 420px;
  margin: 60px auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  padding: 30px;
}

.gos-logo {
  max-width: 160px;
  height: auto;
}

form {
  display: flex;
  flex-direction: column;
}

form > div {
  margin-bottom: 18px;
}

.section-gap {
  margin-top: 12px;
}

input, select {
  background-color: #f1f1f1; /* Make sure inputs are not transparent */
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 100%;
  color: var(--text-color);
}

input:focus, select:focus {
  border-color: var(--royal-blue);
  outline: none;
}

.step {
  display: none;
}

.step.active {
  display: block;
}

.intl-tel-input,
.iti {
  width: 100% !important;
}

.iti input[type="tel"] {
  width: 100% !important;
  padding-right: 12px !important;
  height: 44px !important;
  font-size: 14px;
}

.iti__flag-container {
  height: 100%;
  border-right: 1px solid #ccc;
}

.iti__country-list {
  max-height: 220px;
  width: 300px;
  overflow-y: auto;
  z-index: 1000;
}

/* Checkboxes */
.checkbox-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  font-size: 14px;
  line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-right: 10px;
  margin-top: 0;
  margin-bottom: 0;
}

.button-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
}

.button-row button {
  width: 100%; /* Ensures both buttons expand equally */
}

.required-label::after {
  content: " *";
  color: red;
}

.password-wrapper {
  position: relative;
}

.password-wrapper input {
  width: 100%;
  padding-right: 60px; /* Creates room for the toggle button */
}

.toggle-password {
  position: absolute;
  top: 11%;
  right: 10px;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--royal-blue);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 0;
  height: auto;
  line-height: 1;
  width: 15%;
}

/* Prevents hover background from default buttons */
.toggle-password:hover {
  background: none;
}

/* Password Strength Meter */
#password-strength {
  margin-top: 6px;
}

#strength-bar {
  height: 6px;
  width: 100%;
  background-color: #e0e0e0;
  border-radius: 4px;
  margin-bottom: 6px;
  transition: background-color 0.3s ease;
}

#strength-bar.weak {
  background-color: #e74c3c; /* Red */
}

#strength-bar.medium {
  background-color: #f39c12; /* Orange */
}

#strength-bar.strong {
  background-color: #2ecc71; /* Green */
}

#strength-text {
  font-size: 12px;
  color: #555;
  margin-top: -2px;
}

.resend-button {
  color: white;
  padding: 10px 20px;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 15px;
  margin-top: 12px;
  transition: background 0.3s ease;
}

.resend-button:hover:not(:disabled) {
  background-color: #ff7f00;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.terms-notice small {
  font-size: 13px;
  color: #555;
  line-height: 1.4;
  display: block;
  text-align: center;
}

.terms-notice a {
  color: var(--royal-blue);
  text-decoration: none;
}

.terms-notice a:hover {
  text-decoration: underline;
}

/* --- Step 3: Org picker helpers --- */
.info-card {
  background: #f7faff;
  border: 1px solid #dbe8ff;
  padding: 12px 12px;
  border-radius: 8px;
}

.info-card .subtext {
  margin: 6px 0 0;
  color: #555;
  font-size: 13px;
}

.help-text {
  margin-top: 6px;
  color: #666;
  font-size: 12px;
}

/* Simple error styles shared with inputs */
.input-error {
  border-color: #e74c3c !important;
  background-color: #fff5f5 !important;
}
.error-message {
  color: #e74c3c;
  font-size: 12px;
  margin-top: 6px;
}
