/* General Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: url('background.jpg') no-repeat center center / cover;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  background: #004225;
  color: white;
  padding: 10px 20px;
}

.site-logo {
  width: 40px;
  margin-right: 10px;
}

.site-name {
  font-size: 1.5rem;
  font-weight: bold;
}

/* Main Signup Card */
.main-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.signup-container {
  background: rgba(255, 255, 255, 0.95);
  max-width: 900px;
  width: 100%;
  padding: 32px;
  border-radius: 10px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.signup-header {
  text-align: center;
  margin-bottom: 24px;
}

.school-logo {
  width: 60px;
  margin-bottom: 10px;
}

.signup-title {
  font-size: 2rem;
  color: #2e7d32;
  font-weight: 600;
}

/* Form Layout */
.signup-form {
  display: flex;
  flex-direction: row;
  gap: 32px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.form-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 280px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.signup-form label {
  font-size: 1rem;
  color: #333;
  margin-bottom: 6px;
}

.signup-form input,
.signup-form select {
  padding: 10px 12px;
  border: 1px solid #bdbdbd;
  border-radius: 5px;
  font-size: 1rem;
  transition: border 0.2s;
  background-color: white;
}

.signup-form input:focus,
.signup-form select:focus {
  border-color: #388e3c;
  outline: none;
}

/* Password Toggle */
.password-wrapper {
  position: relative;
}

.password-wrapper .input-field {
  position: relative;
}

.password-wrapper .input-field input {
  width: 100%;
  padding-right: 44px; /* space for the icon */
}
.toggle-password {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 1.05rem;
  user-select: none;
  color: #00512e;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.toggle-password:focus {
  outline: none;
}

/* Password strength meter */
.pwd-meter {
  height: 8px;
  background: #e6e6e6;
  border-radius: 6px;
  overflow: hidden;
  margin-top: 8px;
}
.pwd-meter-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ef4444, #f59e0b, #84cc16);
  transition: width 180ms ease, background-color 180ms ease;
}
.pwd-strength-text {
  font-weight: 500;
}

/* Submit Button */
.signup-form button {
  background: #388e3c;
  color: white;
  border: none;
  padding: 12px 0;
  border-radius: 5px;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}

.signup-form button:hover {
  background: #2e7d32;
}

.form-footer {
  text-align: center;
  margin-top: 10px;
  font-size: 0.95rem;
}

.full-width {
  width: 100%;
}

/* Footer */
.site-footer {
  background: #004225;
  color: white;
  text-align: center;
  padding: 15px;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .signup-form {
    flex-direction: column;
  }
}
