.efm-box{background:#fff;border:1px solid #e2e2e2;padding:22px;border-radius:10px;max-width:760px;margin:20px auto;box-shadow:0 3px 14px rgba(0,0,0,.05)}
.efm-box input,.efm-box textarea,.efm-box select{max-width:100%;padding:10px;border:1px solid #ccc;border-radius:6px;box-sizing:border-box}.efm-box input[type=file]{padding:7px}.efm-btn{display:inline-block;background:#168447;color:#fff!important;border:0;padding:11px 18px;border-radius:6px;text-decoration:none;cursor:pointer}.efm-btn:disabled{opacity:.6}.efm-error{background:#ffe9e9;color:#9b1c1c;padding:12px;border-radius:6px}.efm-success{background:#eaf8ef;border:1px solid #b9e3c6;padding:20px;border-radius:8px;text-align:center}.efm-success strong{font-size:24px;display:block;margin:10px}.efm-fee{font-size:18px}.efm-payment{border:1px solid #ddd;padding:16px;border-radius:8px;margin:18px 0}.efm-methods{display:grid;gap:10px}.efm-pay-option{display:block;border:1px solid #ddd;border-radius:8px;padding:12px;cursor:pointer}.efm-pay-option small{display:block;margin:5px 0 0 24px;color:#666}.efm-conditional{display:none;margin-top:14px;padding:12px;background:#fafafa;border-radius:7px}.efm-qr{width:220px;height:220px;object-fit:contain;border:1px solid #ddd;padding:6px;background:#fff}.efm-card-wrap{width:100%;max-width:100%;overflow-x:auto;overflow-y:hidden;margin:12px auto}.efm-card{position:relative;box-sizing:border-box;width:794px;min-width:794px;height:1123px;max-width:none;background-size:794px 1123px;background-repeat:no-repeat;background-position:top left;margin:0 auto;overflow:hidden}.efm-card *{box-sizing:border-box}.efm-admit-print-action{text-align:center}.efm-card+ p{text-align:center}@media(max-width:600px){.efm-box{padding:14px;margin:10px}.efm-qr{width:180px;height:180px}}
@media print{@page{size:A4 portrait;margin:0}body *{visibility:hidden!important}.efm-card-wrap,.efm-card-wrap *{visibility:visible!important}.efm-card-wrap{position:absolute!important;left:0!important;top:0!important;width:794px!important;height:1123px!important;overflow:visible!important;margin:0!important;padding:0!important}.efm-card{position:relative!important;left:0!important;top:0!important;width:794px!important;min-width:794px!important;height:1123px!important;max-width:none!important;transform:none!important;zoom:1!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}.efm-admit-print-action{display:none!important}}

/* Admission-style application form */
.efm-application-form{max-width:980px;padding:0;overflow:hidden}
.efm-form-head{padding:26px 30px 18px;border-bottom:1px solid #e3e6ea;background:#fff;text-align:center}
.efm-form-head h2{margin:0 0 6px;font-size:30px;color:#18243a}
.efm-form-head p{margin:0;color:#666;font-size:14px}
.efm-application-form>form{padding:22px 30px 30px}
.efm-form-section{margin:24px 0 14px;padding:9px 13px;border-left:5px solid #2446a8;background:#f3f6ff}
.efm-form-section h3{margin:0;font-size:18px;color:#183b8f}
.efm-form-field{margin:0 0 14px}
.efm-form-field>label{display:block;font-weight:600;color:#30343b}
.efm-form-field input:not([type=radio]):not([type=checkbox]),.efm-form-field select,.efm-form-field textarea{width:100%;font-size:15px;background:#fff}
.efm-form-field textarea{min-height:90px;resize:vertical}
.efm-form-field input[type=file]{background:#fafafa}
.efm-form-field span[aria-hidden=true]{color:#d63638}
.efm-application-form .efm-fee{margin:18px 30px 0;padding:12px 15px;background:#f7f7f7;border-radius:6px}
.efm-payment{margin-top:25px}
@media(min-width:760px){
  .efm-application-form form .efm-form-field:nth-of-type(3),
  .efm-application-form form .efm-form-field:nth-of-type(4),
  .efm-application-form form .efm-form-field:nth-of-type(5),
  .efm-application-form form .efm-form-field:nth-of-type(6){display:inline-block;width:49%;vertical-align:top}
}
