/* ==========================================================================
   SENJEE Online Admission Form  (colours taken from the SENJEE logo)
   Save as: public_html/backend/themes/default/css/senjee-admission.css
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');
.sj-adm-page,.sj-adm-page>.row,.sj-adm-page>.row>div,.sj-adm-page>.row>[class*=col-]{width:100% !important;max-width:100% !important;float:none !important;margin:0 !important;padding:0 !important}
.sj-adm-page{background:linear-gradient(180deg,#eaf6fb 0%,#fff 420px);overflow-x:hidden}
.sj-adm-page>.row:before,.sj-adm-page>.row:after{display:none}
.sj-adm{--blue:#18a0c8;--navy:#083858;--orange:#f5a623;--soft:#eaf6fb;--line:#d3e6ee;--txt:#47606e;
  font-family:'Poppins','Segoe UI',Arial,sans-serif;color:var(--txt);width:100%;max-width:100%;padding:0 0 60px}
.sj-adm *{box-sizing:border-box}

/* ---------- HERO ---------- */
.sj-hero{position:relative;overflow:hidden;margin:0;width:100%;padding:48px 3% 95px;color:#fff;
  background:linear-gradient(120deg,var(--navy) 0%,#0c5a80 50%,var(--blue) 100%)}
.sj-hero:before,.sj-hero:after{content:"";position:absolute;border-radius:50%}
.sj-hero:before{width:380px;height:380px;right:-90px;top:-150px;background:rgba(255,255,255,.08)}
.sj-hero:after{width:240px;height:240px;left:-70px;bottom:-130px;background:rgba(245,166,35,.22)}
.sj-hero-in{position:relative;z-index:1;display:flex;align-items:center;flex-wrap:wrap;gap:26px}
.sj-logo{width:108px;height:108px;border-radius:50%;background:#fff;padding:6px;box-shadow:0 0 0 5px rgba(255,255,255,.3),0 10px 28px rgba(0,0,0,.3);flex:none}
.sj-logo img{width:100%;height:100%;border-radius:50%}
.sj-hero-txt{flex:1;min-width:260px}
.sj-hero h1{margin:0 0 6px;font-size:36px;font-weight:700;color:#fff;line-height:1.2}
.sj-hero h1 span{color:var(--orange)}
.sj-hero p{margin:0 0 14px;font-size:15px;color:#d8eef7}
.sj-chips span{display:inline-block;margin:0 8px 8px 0;padding:6px 15px;border-radius:30px;font-size:12.5px;font-weight:500;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.3)}
.sj-chips i{color:var(--orange);margin-right:6px}
.sj-hero-btns a{display:inline-block;margin:4px 8px 4px 0;padding:12px 24px;border-radius:30px;font-weight:600;font-size:14px;text-decoration:none;transition:.25s}
.sj-hero-btns a i{margin-right:7px}
.sj-hero-btns .b1{background:var(--orange);color:#fff;box-shadow:0 6px 16px rgba(245,166,35,.45)}
.sj-hero-btns .b2{background:transparent;color:#fff;border:2px solid #fff;padding:10px 22px}
.sj-hero-btns a:hover{transform:translateY(-3px);color:#fff;background:#fff;color:var(--navy)}
.sj-hero-btns .b1:hover{background:#fff;color:var(--navy)}

/* ---------- FORM ---------- */
.sj-form{position:relative;z-index:2;display:block;width:100%;max-width:100% !important;margin:-60px 0 0 !important;padding:0 3% !important}
.sj-adm .alert{border-radius:12px;margin:20px 0}
.sj-form .printcontent{counter-increment:sj;background:#fff;border-radius:20px;padding:26px 30px 10px;margin-bottom:26px;
  border:1px solid #e3eff5;border-top:5px solid var(--blue);box-shadow:0 12px 34px rgba(8,56,88,.10);transition:box-shadow .3s}
.sj-form .printcontent:hover{box-shadow:0 16px 40px rgba(24,160,200,.20)}
.sj-form .printcontent:nth-of-type(even){border-top-color:var(--orange)}
.sj-form .pagetitleh2{display:flex;align-items:center;width:100%;margin:0 15px 26px !important;padding:0 0 14px;border-bottom:2px dashed var(--line);
  font-size:20px;font-weight:700;color:var(--navy);text-transform:none;background:none;float:none}
.sj-form .pagetitleh2:before{content:counter(sj);flex:none;width:38px;height:38px;line-height:38px;margin-right:12px;text-align:center;border-radius:50%;
  font-size:16px;color:#fff;background:linear-gradient(135deg,var(--blue),var(--navy));box-shadow:0 4px 10px rgba(24,160,200,.4)}
.sj-form .pagetitleh2 i{margin-left:auto;font-size:22px;color:var(--orange)}
.sj-form .form-group{margin-bottom:22px}
.sj-form label{font-size:12.5px;font-weight:600;letter-spacing:.3px;color:var(--navy);margin-bottom:7px;text-transform:uppercase}
.sj-form label.radio-inline,.sj-form .checkbox label,.sj-form .radio label{text-transform:none;font-size:14px;letter-spacing:0;font-weight:500}
.sj-form .req,.sj-form small.req{color:#e8453c;font-size:15px;font-weight:700}
.sj-form .form-control{height:50px;padding:10px 16px;font-size:14.5px;color:var(--navy);background:#f6fbfd;border:2px solid var(--line);border-radius:12px;box-shadow:none;transition:.25s}
.sj-form textarea.form-control{height:auto;min-height:50px;resize:vertical}
.sj-form .form-control:hover{border-color:#9dd3e4}
.sj-form .form-control:focus{background:#fff;border-color:var(--blue);box-shadow:0 0 0 4px rgba(24,160,200,.18)}
.sj-form select.form-control{-webkit-appearance:none;appearance:none;cursor:pointer;padding-right:40px;
  background:#f6fbfd url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='9'><path d='M1 1l6 6 6-6' fill='none' stroke='%2318a0c8' stroke-width='2.4' stroke-linecap='round'/></svg>") no-repeat right 16px center}
.sj-form input[readonly].form-control{background-color:#f6fbfd;cursor:pointer}
.sj-form input[type=file].form-control{height:auto;padding:8px;cursor:pointer;border-style:dashed}
.sj-form input[type=file]::file-selector-button,.sj-form input[type=file]::-webkit-file-upload-button{margin-right:12px;padding:9px 18px;border:0;border-radius:8px;font-weight:600;color:#fff;cursor:pointer;background:linear-gradient(135deg,var(--blue),var(--navy))}
/* checkboxes & radios: neutralise Bootstrap's absolute positioning so they never overlap the text */
.sj-form input[type=radio],.sj-form input[type=checkbox]{position:static !important;float:none !important;accent-color:var(--blue);width:18px !important;height:18px !important;
  min-width:18px;margin:0 9px 0 0 !important;padding:0 !important;border:0 !important;background:none !important;box-shadow:none;vertical-align:middle;cursor:pointer;flex:none}
.sj-form .checkbox,.sj-form .radio{margin:0 0 12px;padding:0}
.sj-form .checkbox label,.sj-form .radio label,.sj-form label.radio-inline,.sj-form label.checkbox-inline{display:inline-flex;align-items:center;padding-left:0;
  margin-bottom:0;line-height:1.4;cursor:pointer}
.sj-form label.radio-inline,.sj-form label.checkbox-inline{margin:0 14px 10px 0 !important;padding:9px 20px !important;border:2px solid var(--line);border-radius:30px;background:#f6fbfd;transition:.2s}
.sj-form label.radio-inline:hover,.sj-form label.checkbox-inline:hover{border-color:var(--blue);background:#fff}
.sj-form .radio label{margin-right:16px}
.sj-form .text-danger{display:block;margin-top:5px;font-size:12.5px;font-weight:500}
.sj-form .dropdownloading{background:#f6fbfd url('../../../images/loading.gif') no-repeat right 14px center !important}

/* ---------- CAPTCHA + SUBMIT ---------- */
.sj-submit{background:#fff;border-radius:20px;padding:24px 15px 12px;margin:0 0 10px !important;border:1px solid #e3eff5;box-shadow:0 12px 34px rgba(8,56,88,.10)}
.sj-submit .capture-icon{margin:0 12px;font-size:20px;color:var(--blue);cursor:pointer}
.sj-submit .width-auto{width:150px !important}
.sj-form .onlineformbtn{display:block;width:100%;height:52px;border:0;border-radius:30px;font-size:16px;font-weight:700;letter-spacing:.5px;color:#fff;cursor:pointer;
  background:linear-gradient(120deg,var(--blue),var(--navy));box-shadow:0 8px 20px rgba(8,56,88,.3);transition:.3s}
.sj-form .onlineformbtn:before{content:"\f1d8";font-family:FontAwesome;margin-right:9px}
.sj-form .onlineformbtn:hover{transform:translateY(-3px);background:linear-gradient(120deg,var(--orange),#e58e0c);box-shadow:0 10px 24px rgba(245,166,35,.5)}

/* ---------- STATUS MODAL ---------- */
#checkOnlineAdmissionStatus .modal-content{border:0;border-radius:20px;overflow:hidden;box-shadow:0 20px 60px rgba(0,0,0,.35)}
#checkOnlineAdmissionStatus .modal-header{background:linear-gradient(120deg,#083858,#18a0c8);color:#fff;border:0;padding:18px 24px}
#checkOnlineAdmissionStatus .modal-header h4{color:#fff;font-weight:600;margin:0}
#checkOnlineAdmissionStatus .close{color:#fff;opacity:.9;text-shadow:none}
#checkOnlineAdmissionStatus .modal-body{padding:24px}
#checkOnlineAdmissionStatus .form-control{height:48px;border:2px solid #d3e6ee;border-radius:12px;box-shadow:none}
#checkOnlineAdmissionStatus .form-control:focus{border-color:#18a0c8;box-shadow:0 0 0 4px rgba(24,160,200,.18)}
#checkOnlineAdmissionStatus .modal-footer{border:0;padding:0 24px 24px}
#checkOnlineAdmissionStatus .onlineformbtn{display:inline-block;width:auto;height:44px;padding:0 28px;border:0;border-radius:30px;color:#fff;font-weight:600;background:linear-gradient(120deg,#18a0c8,#083858)}
#checkOnlineAdmissionStatus .modalclosebtn{border-radius:30px;padding:10px 26px}

/* ---------- RESPONSIVE ---------- */
@media (max-width:767px){
 .sj-adm{padding:0 0 30px}.sj-hero{padding:30px 16px 75px}
 .sj-hero h1{font-size:26px}.sj-logo{width:86px;height:86px}
 .sj-form{padding:0 !important;margin-top:-50px !important}
 .sj-form .printcontent,.sj-submit{border-radius:0 !important;border-left:0 !important;border-right:0 !important;padding:20px 14px 6px !important;margin-bottom:14px !important;width:100%}
 .sj-form .printcontent .row,.sj-submit.row{margin-left:0 !important;margin-right:0 !important}
 .sj-form .pagetitleh2{font-size:17px;margin:0 0 20px !important}
 .sj-form .printcontent [class*=col-],.sj-submit [class*=col-]{padding-left:4px;padding-right:4px}
}

/* ==========================================================================
   MOBILE FIXES (v2) - one-row chips / buttons / options, neat captcha
   ========================================================================== */
@media (max-width:767px){
 /* hero: "Takes only a few minutes | Safe & secure | Fields marked * are required" in ONE row */
 .sj-adm .sj-chips{display:flex;flex-wrap:nowrap;gap:6px;margin:0 0 6px}
 .sj-adm .sj-chips span{flex:1 1 0;min-width:0;margin:0;padding:8px 4px;display:flex;flex-direction:column;align-items:center;justify-content:center;
   text-align:center;font-size:10.5px;line-height:1.25;border-radius:14px}
 .sj-adm .sj-chips span i{margin:0 0 4px;font-size:15px}

 /* hero: "Check your form status | Download application form" in ONE row */
 .sj-adm .sj-hero-btns{display:flex;flex-wrap:nowrap;gap:8px;width:100%}
 .sj-adm .sj-hero-btns a{flex:1 1 0;min-width:0;margin:0;padding:11px 6px;font-size:12.5px;line-height:1.25;text-align:center;
   display:flex;align-items:center;justify-content:center}
 .sj-adm .sj-hero-btns a.b2{padding:9px 6px}
 .sj-adm .sj-hero-btns a i{margin-right:5px;flex:none}

 /* Choose subjects / Scholarship category (checkbox groups): THREE in one row, each name on ONE line */
 .sj-adm .sj-form .checkbox{display:grid !important;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
 .sj-adm .sj-form .checkbox label.checkbox-inline{display:block !important;margin:0 !important;padding:10px 5px !important;min-width:0;
   font-size:clamp(9.5px,2.9vw,12.5px) !important;line-height:1.3;letter-spacing:-.2px;border-radius:14px;
   white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left}
 .sj-adm .sj-form .checkbox label.checkbox-inline input[type=checkbox]{display:inline-block;width:14px !important;height:14px !important;min-width:14px;margin:0 4px 0 0 !important;vertical-align:middle}
 .sj-adm .sj-form .checkbox .text-danger{grid-column:1 / -1}

 /* "If guardian address is current address" / "If permanent address is current address": ONE line */
 .sj-adm .sj-form .checkbox.sj-check1{display:block !important}
 .sj-adm .sj-form .checkbox.sj-check1 label{display:block;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
   font-size:clamp(10.5px,3.3vw,13.5px);letter-spacing:-.1px;margin:0 0 8px}
 .sj-adm .sj-form .checkbox.sj-check1 input[type=checkbox]{display:inline-block;width:16px !important;height:16px !important;min-width:16px;margin:0 6px 0 0 !important}

 /* If guardian is: Father | Mother | Other in ONE row */
 .sj-adm .sj-form .sj-radios{display:flex;flex-wrap:nowrap;gap:8px;margin-top:4px}
 .sj-adm .sj-form .sj-radios label.radio-inline{flex:1 1 0;min-width:0;margin:0 !important;padding:10px 4px !important;font-size:13px;justify-content:center;border-radius:14px}
 .sj-adm .sj-form .sj-radios label.radio-inline input[type=radio]{width:16px !important;height:16px !important;min-width:16px;margin:0 6px 0 0 !important}

 /* captcha: picture + refresh on top, input full width below */
 .sj-adm .sj-submit .sj-captcha{display:flex !important;flex-wrap:wrap;align-items:center;gap:10px;width:100%;margin-bottom:14px}
 .sj-adm .sj-submit .sj-captcha #captcha_image{flex:1 1 0;min-width:0;display:block;text-align:center}
 .sj-adm .sj-submit .sj-captcha #captcha_image img{max-width:100%;height:auto;border:2px solid var(--line);border-radius:12px;background:#fff;padding:3px}
 .sj-adm .sj-submit .sj-captcha .capture-icon{flex:none;margin:0;width:46px;height:46px;line-height:46px;text-align:center;border-radius:50%;
   background:var(--soft);border:2px solid var(--line);font-size:19px}
 .sj-adm .sj-submit .sj-captcha .width-auto,.sj-adm .sj-submit .sj-captcha #captcha{flex:1 1 100%;width:100% !important;max-width:100%;order:3}
 .sj-adm .sj-submit .form-group.btnMD{margin-bottom:10px}
}