/* ===== Base Styles ===== */
body {
  font-family: Arial, sans-serif;
  background: #f9f9f9;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  color: #333;
}

/* ===== Container Styles ===== */
.signup-container {
  width: 90%;
  max-width: 450px;
  margin: 20px auto;
  padding: 30px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.form-header {
  text-align: center;
  margin-bottom: 25px;
}

.form-header h1 {
  color: #e91e63;
  margin-bottom: 5px;
  font-size: 24px;
}

.form-header p {
  color: #666;
  font-size: 14px;
}

/* ===== Form Styles ===== */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #555;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="password"],
.form-group input[type="date"] {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  transition: border-color 0.3s;
}

.form-group input[type="file"] {
  width: 100%;
  padding: 8px 0;
}

.form-group input:focus {
  border-color: #e91e63;
  outline: none;
}

/* ===== Preview Container ===== */
.preview-container {
  margin-top: 10px;
  text-align: center;
}

#facePreview {
  max-width: 150px;
  max-height: 150px;
  border-radius: 4px;
  border: 1px solid #ddd;
  margin-top: 10px;
}

/* ===== Terms Checkbox ===== */
.terms {
  display: flex;
  align-items: center;
  margin: 20px 0;
}

.terms input {
  margin-right: 10px;
}

.terms label {
  margin-bottom: 0;
  font-size: 14px;
}

.terms a {
  color: #e91e63;
  text-decoration: none;
}

.terms a:hover {
  text-decoration: underline;
}

/* ===== Button Styles ===== */
.submit-btn {
  width: 100%;
  padding: 12px;
  background: #e91e63;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s;
}

.submit-btn:hover {
  background: #c2185b;
}

/* ===== Error Messages ===== */
.error-message {
  color: #f44336;
  font-size: 12px;
  margin-top: 5px;
  display: block;
  min-height: 18px;
}

/* ===== Login Link ===== */
.login-link {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
}

.login-link a {
  color: #e91e63;
  text-decoration: none;
  font-weight: 500;
}

.login-link a:hover {
  text-decoration: underline;
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 480px) {
  .signup-container {
    padding: 20px;
  }
  
  .form-header h1 {
    font-size: 20px;
  }
}