/* MITAOE Fee Concession Application — compact, responsive styling
   Load this file AFTER Bootstrap and the main website stylesheet. */
:root {
  --fc-navy: #172653;
  --fc-blue: #1769aa;
  --fc-orange: #ed9636;
  --fc-text: #34445a;
  --fc-muted: #5d6b7c;
  --fc-border: #dbe4ee;
  --fc-bg: #f5f7fb;
}

/* Scope all changes to the fee concession content only. */
.intro-edu {
  padding: 24px 0 42px !important;
  background: var(--fc-bg) !important;
  color: var(--fc-text) !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
}
.intro-edu .container { max-width: 1280px; }
.intro-edu .intro-edu-wrapper { width: 100%; }
.intro-edu p,
.intro-edu li,
.intro-edu .intro-edu-wrapper p,
.intro-edu .intro-edu-wrapper li {
  font-size: 14px !important;
  line-height: 1.65 !important;
  color: var(--fc-muted) !important;
  letter-spacing: 0 !important;
  word-spacing: normal !important;
}
.intro-edu p { margin: 0 0 12px !important; }
.intro-edu ol { margin: 8px 0 18px !important; padding-left: 22px !important; }
.intro-edu li { padding: 0 0 6px 2px !important; }
.intro-edu h2.center-title {
  color: var(--fc-navy) !important;
  font-size: 22px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
  margin: 0 0 16px !important;
  letter-spacing: 0 !important;
}
.intro-edu .row:first-child h2.center-title {
  text-align: center !important;
  padding: 18px 20px !important;
  color: #fff !important;
  background: linear-gradient(110deg, var(--fc-navy), var(--fc-blue)) !important;
  border-radius: 12px;
  margin-bottom: 18px !important;
}
.intro-edu .group-title-index { margin: 0 0 14px !important; }
.intro-edu p b { color: #b33e2c !important; }

/* Main policy + form columns. Keep Bootstrap's grid gutters; do not force rows to flex. */
.intro-edu .row:has(> .col-md-6) {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-left: -12px;
  margin-right: -12px;
}
.intro-edu .row:has(> .col-md-6) > .col-md-6,
.intro-edu .row:has(> .col-md-6) > .col-md-5 {
  box-sizing: border-box;
  min-width: 0;
  padding: 24px !important;
  margin: 0 0 22px !important;
  background: #fff !important;
  border: 1px solid var(--fc-border) !important;
  border-radius: 15px !important;
  box-shadow: 0 5px 18px rgba(24, 43, 75, .045) !important;
}
.intro-edu .row:has(> .col-md-6) > .col-md-6 {
  width: 50%;
  flex: 0 0 50%;
}
.intro-edu .row:has(> .col-md-6) > .col-md-5 {
  width: 41.6667%;
  flex: 0 0 41.6667%;
  margin-left: 0 !important;
}
.intro-edu .row:has(> .col-md-6) > .col-md-1 { display: none !important; }

/* Salary concession table */
.intro-edu table.table {
  width: 100% !important;
  margin: 16px 0 22px !important;
  border: 1px solid var(--fc-border) !important;
  border-radius: 9px !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  background: #fff !important;
  overflow: hidden;
}
.intro-edu table.table thead th {
  padding: 12px 14px !important;
  background: #163f68 !important;
  color: #fff !important;
  border: 0 !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
  font-weight: 700 !important;
}
.intro-edu table.table tbody td {
  padding: 11px 14px !important;
  color: var(--fc-text) !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  border-top: 1px solid var(--fc-border) !important;
}
.intro-edu table.table tbody tr:nth-child(even) td { background: #f5f8fc !important; }
.intro-edu a { color: var(--fc-blue) !important; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.intro-edu a:hover { color: #b66a13 !important; text-decoration: underline; }

/* Instructions above the application form */
.intro-edu .col-md-5 > .group-title-index h2.center-title {
  font-size: 20px !important;
  margin-bottom: 16px !important;
}
.intro-edu .form-area { width: 100%; margin: 0 !important; padding: 0 !important; }
.intro-edu .form-area > form {
  box-sizing: border-box;
  display: block;
  width: 100%;
  margin: 0 !important;
  padding: 24px !important;
  background: #fff !important;
  color: var(--fc-text) !important;
  border: 1px solid var(--fc-border) !important;
  border-top: 4px solid var(--fc-orange) !important;
  border-radius: 14px !important;
  box-shadow: 0 5px 20px rgba(24, 43, 75, .06) !important;
}
.intro-edu .form-area h2.center-title {
  color: var(--fc-navy) !important;
  font-size: 17px !important;
  line-height: 1.4 !important;
  margin: 0 0 20px !important;
  padding: 0 0 11px !important;
  border-bottom: 1px solid var(--fc-border) !important;
}
.intro-edu .form-area .form-group { margin: 0 0 15px !important; }
.intro-edu .form-area label {
  display: block;
  margin: 0 0 6px !important;
  color: #30445d !important;
  font-size: 11px !important;
  line-height: 1.45 !important;
  font-weight: 700 !important;
  letter-spacing: .01em !important;
}
.intro-edu .form-area label span { color: #d34b3f !important; font-size: 12px !important; margin: 0 !important; }
.intro-edu .form-area .form-control {
  box-sizing: border-box;
  display: block;
  width: 100% !important;
  min-height: 43px !important;
  padding: 9px 12px !important;
  color: #23364b !important;
  background: #fff !important;
  border: 1px solid #ccd8e5 !important;
  border-radius: 7px !important;
  box-shadow: none !important;
  font-family: inherit !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
}
.intro-edu .form-area .form-control:focus {
  border-color: var(--fc-blue) !important;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(23,105,170,.11) !important;
}
.intro-edu .form-area input[type="file"] {
  display: block;
  width: 100%;
  min-height: 42px;
  padding: 8px;
  color: var(--fc-text);
  background: #f9fbfd;
  border: 1px dashed #aabbd0;
  border-radius: 7px;
  font-size: 12px !important;
}
.intro-edu .form-area .input-group,
.intro-edu .form-area .btn-file { display: block; width: 100%; }
.intro-edu .form-area .btn-green,
.intro-edu .form-area button[type="submit"] {
  display: block;
  width: 100%;
  min-height: 45px;
  margin-top: 5px;
  padding: 11px 18px;
  color: #fff !important;
  background: var(--fc-blue) !important;
  border: 0 !important;
  border-radius: 7px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: .025em;
  cursor: pointer;
}
.intro-edu .form-area .btn-green:hover,
.intro-edu .form-area button[type="submit"]:hover { background: var(--fc-navy) !important; }

/* Tablet and mobile */
@media (max-width: 991px) {
  .intro-edu .row:has(> .col-md-6) { display: block; margin-left: 0; margin-right: 0; }
  .intro-edu .row:has(> .col-md-6) > .col-md-6,
  .intro-edu .row:has(> .col-md-6) > .col-md-5 {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
    margin: 0 0 18px !important;
    padding: 20px !important;
  }
  .intro-edu .col-md-5 > .group-title-index h2.center-title { font-size: 18px !important; }
}
@media (max-width: 575px) {
  .intro-edu { padding: 18px 0 28px !important; }
  .intro-edu .container { padding-left: 14px; padding-right: 14px; }
  .intro-edu h2.center-title { font-size: 19px !important; }
  .intro-edu .row:first-child h2.center-title { padding: 15px 12px !important; }
  .intro-edu p,
  .intro-edu li,
  .intro-edu .intro-edu-wrapper p,
  .intro-edu .intro-edu-wrapper li { font-size: 13px !important; line-height: 1.6 !important; }
  .intro-edu .row:has(> .col-md-6) > .col-md-6,
  .intro-edu .row:has(> .col-md-6) > .col-md-5 { padding: 16px !important; }
  .intro-edu .form-area > form { padding: 18px 14px !important; }
  .intro-edu .form-area h2.center-title { font-size: 16px !important; }
  .intro-edu .form-area .form-control { min-height: 42px !important; font-size: 14px !important; }
  .intro-edu table.table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .intro-edu table.table thead th,
  .intro-edu table.table tbody td { min-width: 120px; padding: 10px !important; font-size: 12px !important; }
}
