/* jointheteam.css */

/* General form wrapper */
.form-wrap {
  max-width: 800px;
  margin: 3rem auto;
  padding: 2rem;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Form header */
.form-header {
  text-align: center;
  margin-bottom: 2rem;
}

.form-header .eyebrow {
  font-size: 0.9rem;
  color: #777;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.25rem;
}

.form-header h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  font-family: 'Montserrat', sans-serif;
}

.form-header .note {
  font-size: 0.95rem;
  color: #555;
}

/* Form grid */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-grid .full {
  grid-column: 1 / -1;
}

/* Labels and inputs */
label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="file"],
textarea,
select {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: 'Roboto', sans-serif;
  transition: border-color 0.2s ease-in-out;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus,
input[type="file"]:focus {
  border-color: #007bff;
  outline: none;
}

/* Textarea */
textarea {
  min-height: 120px;
  resize: vertical;
}

/* File input */
input[type="file"] {
  padding: 0.5rem;
}

/* Small helper text */
input + small,
textarea + small {
  font-size: 0.8rem;
  color: #555;
}

/* Form actions */
.actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.actions .btn-primary {
  padding: 0.85rem 2rem;
  background-color: #007bff;
  border: none;
  border-radius: 8px;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

.actions .btn-primary:hover {
  background-color: #0056b3;
}

/* Status message */
.status {
  font-size: 0.95rem;
}

.status.ok {
  color: green;
}

.status.err {
  color: red;
}

/* Responsive */
@media (max-width: 700px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .actions .btn-primary {
    width: 100%;
  }
}
