/* Generic Form Wrapper */
.form-wrapper {
  margin-left: auto;
  margin-right: auto;
  max-width: 500px;
  width: 100%;
}

/* Form Container (works for any form) */
.form-container {
  background: #fff;
  width: 100%;
  max-width: 480px;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  text-align: center;
}

/* Header (for any form) */
.form-header h1 {
  font-size: 1.8rem;
  color: #222;
  margin-bottom: 0.5rem;
}

.form-header p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 1.5rem;
}


/* Form Groups */
.form-group {
  text-align: left;
  margin-bottom: 1.2rem;
  position: relative;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  font-weight: 600;
  color: #333;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="number"],
.form-group input[type="url"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  font-size: 0.95rem;
  transition: border 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #2575fc;
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 117, 252, 0.2);
}


/* Checkbox & Radio */
.checkbox-group,
.radio-group {
  text-align: left;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.checkbox-group a,
.radio-group a {
  color: #2575fc;
  text-decoration: none;
}

.checkbox-group a:hover,
.radio-group a:hover {
  text-decoration: underline;
}


/* Responsive */
@media (max-width: 500px) {
  .form-container {
    padding: 1.5rem 1rem;
  }
  
  .form-header h1 {
    font-size: 1.5rem;
  }
}
