/* Dynamic pages and participant workflow */
.hero-banner{ background-size:100% auto!important;min-height:300px}
.hero-banner .hero-content{padding-top:55px}
.certificate-step-image{height:61px;display:flex;align-items:center;justify-content:center;position:relative;z-index:1;margin-bottom:8px}
.certificate-step-image img{max-height:58px;max-width:110px;object-fit:contain}
.dynamic-gallery-frame img{opacity:1;transition:opacity .55s ease}
#tshirtName{transition:opacity .55s ease}
#tshirtName.fade-out{opacity:0}
.tshirt-view-link{color:#fff;font:600 12px Inter,sans-serif;text-decoration:none;margin-top:15px;opacity:.85}
.tshirt-view-link:hover{color:#fff;text-decoration:underline;opacity:1}
.inner-page{min-height:55vh}
.page-heading{padding:40px 0 30px;background:linear-gradient(180deg,#f8faff,#fff)}
.page-heading h1{font-size:clamp(28px,4vw,42px);font-weight:800;color:#121d65;margin:0 0 10px}
.page-heading p:not(.section-kicker){color:#6e7582;font:15px/1.7 Inter,sans-serif;margin:0}
.form-shell{max-width:900px;margin:0 auto;background:#fff;border:1px solid #e5eaf2;border-radius:18px;padding:30px;box-shadow:0 12px 40px #1d34730d}
.form-heading{display:flex;align-items:center;gap:15px;border-bottom:1px solid #edf0f5;padding-bottom:20px;margin-bottom:22px}
.form-heading>i{width:54px;height:54px;border-radius:15px;background:#eaf5ff;color:#1683b9;display:grid;place-items:center;font-size:28px}
.form-heading h2{font-size:21px;font-weight:800;margin:0 0 4px;color:#14205e}
.form-heading p{font:13px Inter,sans-serif;color:#77808c;margin:0}
.form-label{font-size:13px;font-weight:700;color:#343c4b;margin-bottom:7px}
.form-label span{color:#d33}
.form-control,.form-select{min-height:46px;border-color:#dce2eb;border-radius:9px;font:14px Inter,sans-serif}
.form-control:focus,.form-select:focus{border-color:#1c8bba;box-shadow:0 0 0 .2rem #1683b91a}
.form-text{font:11px Inter,sans-serif;color:#89919c}
.photo-preview-wrap{margin-top:14px;padding:12px;border:1px dashed #b8c8da;border-radius:12px;background:#f8fbff;display:flex;align-items:center;gap:13px}
.photo-preview-wrap img{width:86px;height:86px;object-fit:cover;border-radius:9px;background:#e8edf4}
.preview-info{display:flex;flex:1;min-width:0;flex-direction:column;gap:4px;font:13px Inter,sans-serif}
.preview-info small{color:#7a8490;overflow-wrap:anywhere}
.referral-box{background:#f7f9ff;border:1px solid #e2e9f8;border-radius:13px;padding:20px}
.referral-box>div:first-child>i{color:#1d5c96;font-size:23px;margin-top:1px}
.referral-box h3{font-size:16px;font-weight:800;margin:0 0 5px;color:#18235f}
.referral-box p{font:12px/1.6 Inter,sans-serif;color:#717b89;margin:0}
.optional-label{font:600 10px Inter,sans-serif;color:#0b8a42;background:#e5f7ed;border-radius:20px;padding:4px 8px;margin-left:5px;vertical-align:middle}
.referral-hint{font:11px/1.6 Inter,sans-serif;color:#65738b;margin-top:14px}
.referral-hint i{color:#1a6fa7}
.upload-submit{width:100%;margin-top:24px;min-height:51px;border:0;border-radius:10px;background:#079b08;color:#fff;font-size:16px;font-weight:800;letter-spacing:.4px}
.upload-submit:hover{background:#087e08;color:#fff}
.upload-submit:disabled{opacity:.7}
.upload-progress{margin-top:22px;padding:16px;border-radius:12px;background:#f4f8ff;border:1px solid #dce7f7;font:12px Inter,sans-serif}
.upload-progress strong{color:#1a286b}
.upload-progress .progress{height:13px;border-radius:20px;background:#dfe8f5}
.upload-progress .progress-bar{background:#079b08}
.upload-progress small{display:block;margin-top:8px;color:#778394}
.participant-card{height:100%;overflow:hidden;background:#fff;border:1px solid #e5eaf1;border-radius:13px;box-shadow:0 5px 22px #15244d0b;transition:transform .2s,box-shadow .2s}
.participant-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px #15244d15}
.participant-card>a{display:block;background:#f3f6fb}
.participant-card>a img{width:100%;aspect-ratio:1.65/1;object-fit:cover;display:block}
.participant-card-body{padding:15px 16px 16px}
.participant-card-body h2{font-size:16px;font-weight:800;margin:0 0 7px;color:#19245f}
.participant-card-body p{font:12px Inter,sans-serif;color:#6f7886;margin:0 0 7px}
.participant-card-body p i{color:#df7416}
.participant-card-body small{font:11px Inter,sans-serif;color:#9299a3}
.pagination .page-link{color:#1a286b;border-color:#e2e7ef}
.pagination .active .page-link{background:#14216d;border-color:#14216d}
.empty-state{text-align:center;padding:65px 20px;border:1px dashed #cbd5e3;border-radius:15px;background:#fafcff}
.empty-state>i{font-size:45px;color:#9aaec4}
.empty-state h2,.empty-state h3{font-size:21px;font-weight:800;color:#19245f;margin:12px 0 7px}
.empty-state p{font:13px/1.7 Inter,sans-serif;color:#788291}
.empty-state.compact{padding:40px 15px;border:0;background:#fafcff}
.tshirt-layout{display:grid;grid-template-columns:minmax(250px, .9fr) minmax(0,1.6fr);gap:24px;align-items:start}
.tshirt-image-panel{background:#f7f9fd;border:1px solid #e6ebf3;border-radius:15px;padding:22px;text-align:center}
.tshirt-image-panel img{width:100%;max-width:340px;display:block;margin:0 auto 15px}
.tshirt-image-panel h2{font-size:19px;font-weight:800;color:#17236a;margin:0 0 4px}
.tshirt-image-panel p{font-size:13px;color:#e27616;font-weight:700;margin:0 0 10px}
.tshirt-image-panel small{font:11px/1.6 Inter,sans-serif;color:#818b98}
.eligible-table-panel{border:1px solid #e5eaf2;border-radius:15px;overflow:hidden;background:#fff}
.eligible-table-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:19px 20px;border-bottom:1px solid #e9edf4}
.eligible-table-heading h2{font-size:19px;font-weight:800;color:#17236a;margin:0 0 4px}
.eligible-table-heading p{font:12px Inter,sans-serif;color:#7d8794;margin:0}
.eligible-count{font:700 11px Inter,sans-serif;color:#168448;background:#e9f8ef;padding:8px 10px;border-radius:30px;white-space:nowrap}
.eligible-table{margin:0;font:12px Inter,sans-serif}
.eligible-table thead th{background:#f4f6fb;color:#5b6574;font-size:11px;text-transform:uppercase;letter-spacing:.4px;padding:13px 14px;white-space:nowrap}
.eligible-table tbody td{padding:13px 14px;color:#515b6a;border-color:#edf0f5}
.eligible-table tbody td:nth-child(2){color:#17236a}
.referral-complete{font-size:10px;color:#0b8a42;background:#e9f8ef;padding:5px 8px;border-radius:20px;white-space:nowrap}
@media(max-width:991.98px){.tshirt-layout{grid-template-columns:1fr}.tshirt-image-panel img{max-width:260px}}
@media(max-width:767.98px){
  .hero-banner{background-size:auto 160px!important;background-position:center top!important;min-height:265px}
  .hero-banner .hero-content{padding-top:155px}
  .form-shell{padding:20px 15px;border-radius:14px}
  .form-heading h2{font-size:18px}
  .photo-preview-wrap{flex-wrap:wrap}
  .photo-preview-wrap .preview-info{flex-basis:calc(100% - 105px)}
  .photo-preview-wrap button{margin-left:auto}
  .referral-box{padding:15px}
  .page-heading{padding:30px 0 23px}
  .eligible-table-heading{padding:15px}
  .eligible-table{min-width:520px}
}

#galleryImage{opacity:1} .campaign-nav .nav-link.active{color:#ff7a02;}
