/* ------------------ FORM CONTAINER ------------------ */
.container {
  max-width: 900px;
  margin: 50px auto;
  padding: 0 20px;
  font-family: "Poppins", sans-serif;
}

/* ------------------ HEADER ------------------ */
.form-header {
  text-align: center;
  margin-bottom: 30px;
}

.form-header h1 {
  font-size: 32px;
  font-weight: 600;
  color: #1a237e;
}

.form-header .subtitle {
  font-size: 15px;
  color: #444;
}

/* ------------------ FIELDSETS ------------------ */
.job-form fieldset {
  margin-bottom: 25px;
  padding: 20px 25px;
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid #dcdcdc;
  box-shadow: 0 3px 10px rgba(0,0,0,0.06);
}

.job-form legend {
  padding: 0 10px;
  font-size: 20px;
  font-weight: 600;
  color: #0d47a1;
}

/* ------------------ INPUT ROWS ------------------ */
.row {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
}

/* 2 Columns Grid */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

/* ------------------ LABELS & INPUTS ------------------ */
label {
  margin-bottom: 6px;
  font-size: 15px;
  color: #333;
  font-weight: 500;
}

input, select, textarea {
  width: 100%;
  padding: 10px 12px;
  font-size: 15px;
  border: 1px solid #bfc5cb;
  border-radius: 6px;
  outline: none;
  transition: 0.2s ease;
  background: #f9f9f9;
}

input:focus, select:focus, textarea:focus {
  border-color: #1a73e8;
  background: #fff;
}

/* ------------------ CHECKBOX ------------------ */
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkbox-label input {
  width: 18px;
  height: 18px;
}

/* ------------------ BUTTONS ------------------ */
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  margin-top: 20px;
}

.btn {
  padding: 10px 20px;
  border-radius: 6px;
  border: none;
  font-size: 15px;
  cursor: pointer;
  font-weight: 500;
  transition: 0.25s ease;
}

.btn.primary {
  background: #1a237e;
  color: #fff;
}

.btn.primary:hover {
  background: #151d6b;
}

.btn.secondary {
  background: #e0e0e0;
  color: #333;
}

.btn.secondary:hover {
  background: #cacaca;
}

/* ------------------ FORM MESSAGE ------------------ */
.form-message {
  margin-top: 15px;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  display: none;
}

.form-message.success {
  display: block;
  color: #1b5e20;
}

/* ------------------ RESPONSIVE ------------------ */
@media (max-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}
