/* ================================
   FORM MAIN LAYOUT
===================================*/

.admission-form {
  width: 90%;
  max-width: 900px;   /* WIDTH BADHA DIYA */
  margin: 30px auto;
  background: #ffffff;
  padding: 25px 30px;
  border-radius: 12px;
  box-shadow: 0px 0px 25px rgba(0,0,0,0.1);
  font-family: "Poppins", sans-serif;
}


/* ================================
   FIELDSET & LEGEND
===================================*/

.admission-form fieldset {
  border: 1px solid #dcdcdc;
  padding: 20px;
  margin-bottom: 25px;
  border-radius: 10px;
}

.admission-form legend {
  padding: 6px 15px;
  font-size: 18px;
  font-weight: 600;
  color: #0a1c48;
  border-radius: 8px;
}


/* ================================
   ROW + INPUT STYLING
===================================*/

.row {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
}

.row label {
  font-weight: 600;
  margin-bottom: 6px;
  color: #222;
}

.row input,
.row select,
.row textarea {
  padding: 10px;
  border: 1px solid #bdbdbd;
  border-radius: 6px;
  font-size: 15px;
  background: #fff;
  transition: 0.2s;
}

.row input:focus,
.row select:focus,
.row textarea:focus {
  border-color: #0a1c48;
  box-shadow: 0 0 5px rgba(8, 55, 131, 0.3);
  outline: none;
}

/* SMALL GRID SYSTEM */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 15px;
}


/* ================================
   FILE UPLOAD ROW
===================================*/

.file-row input {
  padding: 7px;
}


/* ================================
   CHECKBOX
===================================*/

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

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


/* ================================
   FORM ACTION BUTTONS
===================================*/

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

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

.btn-primary {
  background:#0a1c48;
  color: #fff;
}

.btn-primary:hover {
  background: #061a60;
}

.btn-secondary {
  background: #cfcfcf;
}

.btn-secondary:hover {
  background: #bbbbbb;
}


/* ================================
   FORM MESSAGE
===================================*/

.form-message {
  margin-top: 15px;
  font-size: 15px;
}

.form-message.success {
  color: #0a1c48;
  font-weight: 600;
}

.form-message.error {
  color: #e63946;
  font-weight: 600;
}


/* ================================
   RESPONSIVE
===================================*/

@media (max-width: 768px) {

  .admission-form {
    width: 95%;
    padding: 20px;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
}
