/* Page Layout */
.page-body {
  background-color: #f3f4f6; /* Tailwind bg-gray-100 */
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-container {
  background: #fff;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  width: 100%;           /* full width on mobile */
  max-width: 100%;       /* allow edge-to-edge on small screens */
  margin: 0;             /* remove auto-centering on mobile */
  border-radius: 0;      /* optional: remove rounded corners on mobile */
}

/* Tablet and larger */
@media (min-width: 768px) {
  .form-container {
    width: 100%;
    max-width: 42rem;    /* centered on tablet */
    margin: 0 auto;
    border-radius: 1rem; /* rounded corners back */
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .form-container {
    max-width: 48rem;
  }
}


/* Ensure form inputs never overflow */
.form-input,
textarea,
select {
  width: 100%;
  box-sizing: border-box;
}

/* Title */
.form-title {
  font-size: 1.5rem; 
  font-weight: 700;
  text-align: center;
  margin-bottom: 1.5rem;
}

/* Section titles */
.section-title {
  font-size: 0.875rem; 
  font-weight: 500;
  margin-top: 1rem;
  margin-bottom: 0.25rem;
}

/* Form Groups */
.form-group {
  margin-top: 1rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
}

.form-input {
  width: 100%;
  margin-top: 0.25rem;
  padding: 0.5rem;
  border: 1px solid #d1d5db; /* border-gray-300 */
  border-radius: 0.5rem;
}

.form-input:focus {
  outline: none;
  border-color: #3b82f6; /* blue-500 */
  box-shadow: 0 0 0 2px #bfdbfe; /* focus:ring focus:ring-blue-300 */
}

/* Helper text */
.helper-text {
  font-size: 0.75rem;
  color: #6b7280; /* text-gray-500 */
  margin-top: 0.25rem;
}

/* Submit */
.submit-container {
  text-align: center;
  margin-top: 1.5rem;
}

.submit-btn {
  width: 100%;
  background-color: #2563eb; /* blue-600 */
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  transition: background 0.3s ease;
}

.submit-btn:hover {
  background-color: #1d4ed8; /* blue-700 */
}
