/* Signup Container */
.signup-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f5f5f5;
  padding: 40px 20px;
}

.signup-card {
  background: white;
  border-radius: 12px;
  padding: 48px;
  max-width: 540px;
  width: 100%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

/* Typography */
.signup-title {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 8px 0;
  text-align: center;
}

.signup-subtitle {
  font-size: 15px;
  color: #666;
  margin: 0 0 32px 0;
  text-align: center;
}

/* Social Buttons */
.social-buttons {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.social-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: white;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  cursor: pointer;
  transition: all 0.2s ease;
}

.social-btn:hover {
  background: #f8f8f8;
  border-color: #ccc;
}

.google-btn svg,
.facebook-btn svg {
  flex-shrink: 0;
}

/* Divider */
.divider {
  display: flex;
  align-items: center;
  margin: 24px 0;
  color: #999;
  font-size: 14px;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #ddd;
}

.divider span {
  padding: 0 16px;
}

/* Form */
.signup-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

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

.form-group label {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  margin-bottom: 8px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 15px;
  transition: all 0.2s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="password"]:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group input::placeholder {
  color: #aaa;
}

/* Password Wrapper and Toggle */
.password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.password-wrapper input[type="password"],
.password-wrapper input[type="text"] {
  width: 100%;
  padding-right: 40px; /* Make space for the eye icon */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.toggle-password {
  position: absolute;
  right: 15px;
  cursor: pointer;
  color: #666;
  font-size: 18px;
  transition: color 0.2s ease;
  background: none;
  border: none;
  padding: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.toggle-password:hover {
  color: #2563eb;
}

/* Ensure the icon is visible and properly aligned */
.fa-eye,
.fa-eye-slash {
  font-size: 1.1em;
  color: #666;
  transition: color 0.2s ease;
}

.password-wrapper:hover .fa-eye,
.password-wrapper:hover .fa-eye-slash {
  color: #2563eb;
}

/* Password Strength */
.password-strength {
  margin-top: 8px;
  height: 4px;
  background: #e5e5e5;
  border-radius: 2px;
  overflow: hidden;
}

.strength-bar {
  height: 100%;
  width: 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.strength-bar.weak {
  width: 33%;
  background: #ef4444;
}

.strength-bar.medium {
  width: 66%;
  background: #f59e0b;
}

.strength-bar.strong {
  width: 100%;
  background: #10b981;
}

.password-requirements {
  font-size: 13px;
  color: #666;
  margin: 6px 0 0 0;
}

/* Checkbox */
.checkbox-group {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
}

.checkbox-group input[type="checkbox"] {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.checkbox-group label {
  font-size: 14px;
  font-weight: 400;
  color: #555;
  margin: 0;
  cursor: pointer;
}

/* Links */
.link {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.link:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

/* Submit Button */
.submit-btn {
  padding: 14px;
  background: #2563eb;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 8px;
}

.submit-btn:hover {
  background: #1d4ed8;
}

.submit-btn:active {
  transform: scale(0.98);
}

.submit-btn:disabled {
  background: #94a3b8;
  cursor: not-allowed;
}

/* Login Link */
.login-link {
  text-align: center;
  font-size: 14px;
  color: #666;
  margin: 16px 0 0 0;
}




/* Responsive */
@media (max-width: 768px) {
  .signup-card {
    padding: 32px 24px;
  }

  .signup-title {
    font-size: 28px;
  }

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

  .social-buttons {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .signup-container {
    padding: 20px 16px;
  }

  .signup-card {
    padding: 24px 20px;
  }

  .signup-title {
    font-size: 24px;
  }
}

/* Eye Icon for Password Toggle */
.password-wrapper {
  position: relative;
}

.password-wrapper input {
  width: 100%;
  padding-right: 35px; /* space for icon */
}

.password-wrapper .toggle-password {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #888;
  font-size: 16px;
  transition: color 0.2s ease;
}

.password-wrapper .toggle-password:hover {
  color: #2563eb; /* matches your theme color */
}

.error-message{
  color:red;
  font-size:0.75rem;
  display:none
}
