.subscribe-page{margin:0;background:#f3f6fb;color:#14233b;font-family:Tajawal,Tahoma,Arial,sans-serif;min-height:100vh}.subscribe-shell{width:min(1120px,calc(100% - 28px));margin:28px auto 40px}.subscribe-header{background:#0b2860;color:#fff;border-radius:16px;padding:15px 18px;display:flex;align-items:center;justify-content:space-between;gap:14px;box-shadow:0 12px 32px rgba(11,40,96,.13)}.subscribe-brand{display:flex;align-items:center;gap:10px}.subscribe-brand .brand-code{background:#adf527;color:#0b2860;width:42px;height:42px;border-radius:12px;display:grid;place-items:center;font-weight:900}.subscribe-brand strong,.subscribe-brand small{display:block}.subscribe-brand small{color:#cbd8ee;margin-top:2px}.current-student-link{color:#0b2860;background:#fff;text-decoration:none;font-weight:900;padding:10px 14px;border-radius:10px}.subscribe-title{text-align:center;padding:30px 12px 20px}.subscribe-title h1{font-size:30px;margin:10px 0 7px;color:#0b2860}.subscribe-title p{color:#66758d;margin:0;line-height:1.8}.pill{display:inline-block;background:#e8f7cc;color:#356600;border-radius:999px;padding:6px 11px;font-size:12px;font-weight:900}.subscribe-card{background:#fff;border:1px solid #dfe6f1;border-radius:18px;padding:22px;box-shadow:0 10px 34px rgba(6,25,63,.06)}.section-heading{display:flex;align-items:center;gap:10px;margin:5px 0 14px;padding-top:10px}.section-heading>span{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#0b2860;color:#fff;font-weight:900}.section-heading strong,.section-heading small{display:block}.section-heading small{color:#738198;margin-top:2px}.subscribe-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.subscribe-grid .full{grid-column:1/-1}.payment-instructions{margin:16px 0 10px;border:1px solid #d8e0ec;background:#f7f9fd;border-radius:13px;padding:15px;display:flex;flex-wrap:wrap;align-items:center;gap:10px}.payment-instructions strong{color:#0b2860}.payment-instructions span{flex:1 1 320px}.payment-instructions small{color:#66758d}.subscribe-total{background:#effbe8;border:1px solid #d4edc6;border-radius:13px;padding:15px;display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.subscribe-total strong{font-size:22px;color:#126c35}.subscribe-note,.subscribe-alert{border-radius:12px;padding:12px 14px;line-height:1.7;margin:15px 0}.subscribe-note{background:#fff3d4;color:#795700}.subscribe-alert.error{background:#fde8e8;color:#9d2525;border:1px solid #f6caca}.subscribe-submit{min-width:210px;font-size:16px}.subscribe-submit:disabled{opacity:.55;cursor:not-allowed}.subscribe-footer{text-align:center;color:#7b879a;padding:18px 10px}.success-shell{display:grid;place-items:center;min-height:90vh}.success-card{width:min(580px,100%);box-sizing:border-box;background:#fff;border:1px solid #dfe6f1;border-radius:22px;padding:36px;text-align:center;box-shadow:0 15px 44px rgba(6,25,63,.1)}.success-icon{width:70px;height:70px;border-radius:50%;margin:0 auto 14px;display:grid;place-items:center;background:#adf527;color:#0b2860;font-size:36px;font-weight:900}.success-card h1{color:#0b2860}.success-card p{color:#66758d;line-height:1.8}.reference-box{background:#f5f8fc;border:1px dashed #b8c6da;border-radius:14px;padding:15px;margin:18px 0}.reference-box small,.reference-box strong{display:block}.reference-box strong{font-size:24px;color:#0b2860;letter-spacing:1px}.muted{font-size:13px}@media(max-width:720px){.subscribe-shell{width:min(100% - 16px,1120px);margin:8px auto 24px}.subscribe-header{align-items:stretch;flex-direction:column}.current-student-link{text-align:center}.subscribe-title{padding:22px 8px 14px}.subscribe-title h1{font-size:23px}.subscribe-card{padding:14px;border-radius:14px}.subscribe-grid{grid-template-columns:1fr}.subscribe-grid .full{grid-column:auto}.payment-instructions{align-items:stretch;flex-direction:column}.payment-instructions .btn{width:100%;text-align:center}.subscribe-total strong{font-size:19px}.subscribe-submit{width:100%}.success-card{padding:24px 16px}}

/* Subscribe V3: compact payment card + mobile refinements */
.payment-instructions{display:block;padding:0;border:0;background:transparent;margin:14px 0 12px}
.payment-method-card{border:1px solid #d8e2f0;background:linear-gradient(180deg,#f8faff 0%,#f4f7fc 100%);border-radius:14px;padding:14px 16px;box-shadow:0 4px 14px rgba(11,40,96,.04)}
.payment-method-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:11px;border-bottom:1px solid #e3e9f2}
.payment-method-head strong{display:block;color:#0b2860;font-size:16px}
.payment-method-head small{display:block;color:#718099;margin-top:3px;font-size:12px}
.payment-badge{flex:0 0 auto;background:#e7f0ff;color:#0b2860;border:1px solid #cfdef5;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:800;white-space:nowrap}
.payment-details{display:grid;gap:8px;margin-top:11px}
.payment-detail-row{display:flex;align-items:center;justify-content:space-between;gap:14px;background:#fff;border:1px solid #e5ebf3;border-radius:10px;padding:9px 11px}
.payment-detail-row span{color:#6a7890;font-size:13px}
.payment-detail-row b{color:#172b4d;font-size:14px;text-align:left;overflow-wrap:anywhere}
.payment-detail-row.fee-row{background:#fffaf0;border-color:#f1dfb8}
.payment-open-btn{display:inline-flex;align-items:center;justify-content:center;margin-top:11px;min-width:150px;text-decoration:none}

@media(max-width:720px){
  .subscribe-shell{width:calc(100% - 12px);margin:6px auto 18px}
  .subscribe-card{padding:12px;border-radius:13px}
  .section-heading{margin:3px 0 11px;padding-top:8px;align-items:flex-start}
  .section-heading>span{width:28px;height:28px;font-size:13px;flex:0 0 28px}
  .section-heading small{font-size:11px;line-height:1.5}
  .subscribe-grid{gap:10px}
  .payment-instructions{margin:12px 0 10px}
  .payment-method-card{padding:12px;border-radius:12px}
  .payment-method-head{align-items:flex-start;gap:8px;padding-bottom:9px}
  .payment-method-head strong{font-size:15px}
  .payment-method-head small{font-size:11px}
  .payment-badge{font-size:10px;padding:4px 7px}
  .payment-details{gap:7px;margin-top:9px}
  .payment-detail-row{padding:9px 10px;gap:10px}
  .payment-detail-row span{font-size:12px}
  .payment-detail-row b{font-size:13px}
  .payment-open-btn{width:100%;box-sizing:border-box;margin-top:9px}
  .subscribe-total{padding:12px;margin-bottom:12px}
  .subscribe-total strong{font-size:18px}
  .field label{font-size:13px}
  .field input,.field select{min-height:44px;font-size:14px}
}

@media(max-width:390px){
  .payment-method-head{flex-direction:column}
  .payment-badge{align-self:flex-start}
  .payment-detail-row{align-items:flex-start;flex-direction:column;gap:3px}
  .payment-detail-row b{text-align:right}
}

/* Subscribe V4: unified step cards, highlighted headings, cleaner mobile spacing */
.subscribe-card{
  background:transparent;
  border:0;
  box-shadow:none;
  padding:0;
}
.subscribe-step{
  background:#fff;
  border:1px solid #dfe6f1;
  border-radius:18px;
  padding:18px;
  margin-bottom:18px;
  box-shadow:0 8px 26px rgba(6,25,63,.05);
}
.subscribe-step .section-heading{
  margin:-2px -2px 16px;
  padding:11px 12px;
  border-radius:12px;
  background:#edf3ff;
  border:1px solid #d7e3f8;
}
.subscribe-step .section-heading>span{
  width:34px;
  height:34px;
  flex:0 0 34px;
  box-shadow:0 4px 10px rgba(11,40,96,.12);
}
.subscribe-step .section-heading strong{
  color:#0b2860;
  font-size:16px;
}
.subscribe-step .section-heading small{
  color:#66758d;
  line-height:1.55;
}
.subscribe-step .subscribe-grid{gap:15px}
.subscribe-step .field{margin:0}
.subscribe-step .field label{display:block;margin-bottom:7px}
.subscribe-step .field input,
.subscribe-step .field select{width:100%;box-sizing:border-box}
.subscribe-step .payment-instructions{margin:18px 0 12px}
.subscribe-step .subscribe-total{margin:12px 0 0}
.subscribe-submit{display:block;margin:4px 0 0 auto;min-height:48px;border-radius:12px}

@media(max-width:720px){
  .subscribe-shell{width:calc(100% - 14px);margin:7px auto 20px}
  .subscribe-card{padding:0}
  .subscribe-step{padding:12px;margin-bottom:13px;border-radius:14px}
  .subscribe-step .section-heading{margin:0 0 14px;padding:10px;border-radius:10px;gap:9px}
  .subscribe-step .section-heading>span{width:30px;height:30px;flex-basis:30px}
  .subscribe-step .section-heading strong{font-size:15px}
  .subscribe-step .section-heading small{font-size:11px;margin-top:3px}
  .subscribe-step .subscribe-grid{gap:13px}
  .subscribe-step .field label{margin-bottom:6px;font-size:13px}
  .subscribe-step .field input,
  .subscribe-step .field select{min-height:46px;padding-top:10px;padding-bottom:10px}
  .subscribe-step .payment-instructions{margin:16px 0 11px}
  .payment-method-card{padding:13px}
  .payment-method-head{padding-bottom:11px;margin-bottom:1px}
  .payment-details{margin-top:10px}
  .payment-open-btn{min-height:44px;margin-top:11px}
  .subscribe-total{padding:13px 12px;min-height:50px;box-sizing:border-box}
  .subscribe-submit{width:100%;margin-top:2px;min-height:50px;font-size:16px}
}

@media(max-width:390px){
  .subscribe-step{padding:10px}
  .subscribe-step .section-heading{padding:9px}
  .subscribe-total{align-items:center;gap:10px}
  .subscribe-total strong{white-space:nowrap}
}

/* Release: SUBSCRIBE V5 - cache-busted unified mobile steps */


/* Subscribe V6: simple stacked payment details on mobile */
@media(max-width:720px){
  .payment-instructions{
    margin:14px 0 14px;
  }
  .payment-method-card{
    padding:14px;
    border-radius:12px;
    box-shadow:none;
  }
  .payment-method-head{
    display:block;
    padding:0 0 10px;
    margin:0;
    border-bottom:1px solid #e3e9f2;
  }
  .payment-method-head>div{
    display:block;
  }
  .payment-method-head strong{
    display:block;
    font-size:16px;
    line-height:1.5;
    margin:0;
  }
  .payment-method-head small{
    display:block;
    font-size:12px;
    line-height:1.7;
    margin-top:4px;
  }
  .payment-badge{
    display:inline-block;
    margin-top:8px;
    white-space:normal;
  }
  .payment-details{
    display:block;
    margin-top:6px;
  }
  .payment-detail-row,
  .payment-detail-row.fee-row{
    display:block;
    background:transparent;
    border:0;
    border-bottom:1px solid #e7edf5;
    border-radius:0;
    padding:11px 0;
    margin:0;
  }
  .payment-detail-row:last-child{
    border-bottom:0;
    padding-bottom:4px;
  }
  .payment-detail-row span{
    display:block;
    font-size:12px;
    line-height:1.5;
    margin-bottom:5px;
  }
  .payment-detail-row b{
    display:block;
    font-size:14px;
    line-height:1.7;
    text-align:right;
    word-break:break-word;
  }
  .payment-open-btn{
    display:flex;
    width:100%;
    min-height:46px;
    margin-top:14px;
    box-sizing:border-box;
  }
  .subscribe-total{
    margin-top:14px;
    margin-bottom:18px;
    padding:14px;
  }
  .subscribe-step .section-heading{
    margin-bottom:16px;
  }
}


/* Subscribe V7: copy wallet number only */
.wallet-number-copy{display:flex;align-items:center;gap:10px;justify-content:flex-end;flex-wrap:wrap}
.copy-wallet-btn{appearance:none;border:1px solid #c9d7ea;background:#fff;color:#0b2860;border-radius:9px;padding:7px 11px;font-family:inherit;font-size:12px;font-weight:900;cursor:pointer;line-height:1.2;white-space:nowrap;transition:.15s ease}
.copy-wallet-btn:hover{background:#eef4fc;border-color:#adc2df}
.copy-wallet-btn.copied{background:#effbe8;border-color:#cce7ba;color:#126c35}
@media(max-width:720px){
  .wallet-number-row .wallet-number-copy{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;margin-top:2px}
  .wallet-number-row .wallet-number-copy b{margin:0;font-size:15px;letter-spacing:.3px}
  .copy-wallet-btn{min-height:38px;padding:8px 12px}
}
@media(max-width:420px){
  .wallet-number-row .wallet-number-copy{align-items:stretch;flex-direction:column;gap:8px}
  .wallet-number-row .wallet-number-copy b{width:100%}
  .copy-wallet-btn{width:100%}
}


/* Subscribe V14: Landing Page preset summary + optional package editing */
.selected-package-summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin:0 0 16px;
  padding:14px 16px;
  border:1px solid #cfe0f8;
  background:#f4f8ff;
  border-radius:13px;
}
.selected-package-summary.is-hidden{display:none}
.selected-package-copy{min-width:0}
.selected-package-copy small{
  display:block;
  color:#6b7b93;
  font-size:12px;
  margin-bottom:4px;
}
.selected-package-copy strong{
  display:block;
  color:#0b2860;
  font-size:16px;
  line-height:1.6;
}
.selected-package-copy span{
  display:inline-block;
  margin-top:5px;
  color:#126c35;
  font-size:18px;
  font-weight:900;
}
.change-package-btn{
  appearance:none;
  flex:0 0 auto;
  border:1px solid #bdcce1;
  background:#fff;
  color:#0b2860;
  border-radius:10px;
  padding:9px 13px;
  font-family:inherit;
  font-size:13px;
  font-weight:900;
  cursor:pointer;
}
.change-package-btn:hover{background:#edf3fb;border-color:#9fb5d3}
.package-selection-controls{margin-bottom:15px}
.package-selection-controls.is-collapsed{display:none}
.package-choice-grid{padding:14px;border:1px dashed #d4dfed;background:#fbfcfe;border-radius:12px}
.payment-choice-grid{margin-top:0}

@media(max-width:720px){
  .selected-package-summary{
    display:block;
    padding:13px;
    margin-bottom:14px;
  }
  .selected-package-copy strong{font-size:15px}
  .selected-package-copy span{font-size:17px}
  .change-package-btn{
    width:100%;
    min-height:42px;
    margin-top:12px;
  }
  .package-choice-grid{padding:11px}
  .package-selection-controls{margin-bottom:13px}
  .payment-choice-grid{gap:13px}
}
