@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

body.register-page {
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(circle at 10% 15%, rgba(37, 99, 235, 0.20), transparent 28%),
        radial-gradient(circle at 88% 20%, rgba(168, 85, 247, 0.20), transparent 30%),
        radial-gradient(circle at 82% 88%, rgba(34, 197, 94, 0.16), transparent 28%),
        linear-gradient(135deg, #eef7ff 0%, #f7f3ff 50%, #eefdf7 100%);
    font-family: 'Inter', Arial, sans-serif;
}

.landing-shell,
.form-shell {
    max-width: 1180px;
    margin: 56px auto 45px;
    padding: 0 20px;
}

.landing-panel,
.form-panel {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 26px 70px rgba(25, 55, 100, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.7);
}

.landing-hero,
.form-hero {
    position: relative;
    padding: 34px 46px;
    background: linear-gradient(135deg, #0d47b8 0%, #2563eb 48%, #7c3aed 100%);
    color: #ffffff;
    overflow: hidden;
}

.landing-hero:before,
.form-hero:before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    right: -55px;
    top: -75px;
    background: rgba(255,255,255,0.12);
}

.landing-hero:after,
.form-hero:after {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    left: -45px;
    bottom: -70px;
    background: rgba(255,255,255,0.08);
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.hero-content {
    max-width: 660px;
}

.hero-logo-box {
    width: 150px;
    height: 150px;
    border-radius: 26px;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
}

.hero-logo-box img {
    max-width: 105px;
    max-height: 105px;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.18));
}

.landing-kicker,
.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.17);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .5px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.landing-title,
.hero-title {
    margin: 0 0 10px;
    font-size: 34px;
    line-height: 1.1;
    font-weight: 900;
}

.landing-subtitle,
.hero-copy {
    margin: 0;
    max-width: 680px;
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255,255,255,.94);
}

.hero-info {
    margin-top: 18px;
    display: flex;
    align-items: center;
    gap: 13px;
    max-width: 560px;
    padding: 13px 16px;
    border-radius: 15px;
    background: rgba(255,255,255,.13);
    border: 1px solid rgba(255,255,255,.16);
    color: #fff;
    font-size: 12px;
    line-height: 1.55;
}

.hero-info i {
    width: 34px;
    height: 34px;
    min-width: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #38a3ff;
    border-radius: 50%;
    font-size: 15px;
}

.hero-back {
    position: absolute;
    right: 34px;
    top: 30px;
    z-index: 3;
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.24);
    background: linear-gradient(135deg, #0d47b8 0%, #2563eb 48%, #7c3aed 100%);
    padding: 9px 15px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.hero-back:hover,
.hero-back:focus {
    color: #ffffff;
    text-decoration: none;
    /* background: rgba(255,255,255,0.20); */
    background: linear-gradient(135deg, #0d47b8 0%, #2563eb 48%, #7c3aed 100%);
}

.landing-body,
.form-body {
    padding: 34px 46px 38px;
}

.section-title-row {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 24px;
}

.section-main-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 14px;
    background: #eaf4ff;
    color: #1677ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.section-heading {
    margin: 0 0 7px;
    color: #09234a;
    font-size: 24px;
    font-weight: 900;
}

.section-copy {
    margin: 0;
    color: #536b8c;
    font-size: 12px;
    line-height: 1.55;
    max-width: 820px;
}

.package-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.package-card {
    position: relative;
    min-height: 130px;
    padding: 18px 58px 18px 20px;
    border: 1px solid #dfeaf7;
    border-radius: 20px;
    background: #ffffff;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 9px 24px rgba(15, 50, 92, .05);
    transition: all .22s ease;
    display: flex;
    align-items: center;
    gap: 16px;
}

.package-card:hover,
.package-card.active {
    transform: translateY(-3px);
    box-shadow: 0 20px 38px rgba(15, 50, 92, .13);
}

.package-card input {
    position: absolute;
    opacity: 0;
}

.package-card:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: #1677ff;
}

.package-card.package-2:after { background: #8b5cf6; }
.package-card.package-3:after { background: #22b573; }
.package-card.package-4:after { background: #ff4f83; }
.package-card.package-5:after { background: #ff8500; }

.package-no {
    position: absolute;
    top: 13px;
    left: 13px;
    width: 24px;
    height: 24px;
    background: #dcebff;
    color: #1677ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 11px;
}

.package-icon {
    width: 58px;
    height: 58px;
    min-width: 58px;
    border-radius: 16px;
    background: #eaf4ff;
    color: #1677ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-left: 12px;
}

.package-card.package-2 .package-icon { background:#f1eaff; color:#7c3aed; }
.package-card.package-3 .package-icon { background:#e9fbf1; color:#16a765; }
.package-card.package-4 .package-icon { background:#fff0f5; color:#ff4f83; }
.package-card.package-5 .package-icon { background:#fff2e3; color:#ff8500; }

.package-content {
    min-width: 0;
    flex: 1;
}

.package-title {
    display: block;
    color: #09234a;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 900;
    margin-bottom: 5px;
}

.package-meta {
    display: block;
    color: #536b8c;
    font-size: 11px;
    line-height: 1.4;
    margin-bottom: 5px;
    font-weight: 600;
}

.package-description {
    display: block;
    color: #6b7f99;
    font-size: 11px;
    line-height: 1.4;
}

.package-arrow {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #eef6ff;
    color: #1677ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    font-weight: 900;
}

.package-error {
    display: none;
    margin-top: 14px;
    color: #dc2626;
    font-weight: 700;
    font-size: 12px;
}

.footer-program-note {
    margin-top: 28px;
    padding: 18px 22px;
    border-radius: 18px;
    border: 1px solid #dbeafe;
    background: linear-gradient(90deg, #f7fbff 0%, #eef6ff 60%, #f4efff 100%);
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-program-note .note-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 14px;
    background: #e1f0ff;
    color: #1677ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.footer-program-note h4 {
    margin: 0 0 4px;
    color: #09234a;
    font-size: 15px;
    font-weight: 900;
}

.footer-program-note p {
    margin: 0;
    color: #536b8c;
    font-size: 12px;
    line-height: 1.5;
}

.summary-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 18px;
    margin-bottom: 24px;
}

.summary-card {
    border: 1px solid #d9e5f0;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    padding: 18px 20px;
}

.summary-title {
    margin: 0 0 12px;
    color: #09234a;
    font-size: 18px;
    font-weight: 900;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 9px 0;
    border-bottom: 1px solid #edf3f8;
}

.summary-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.summary-label {
    color: #688099;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.summary-value {
    color: #17324f;
    font-size: 13px;
    font-weight: 700;
    text-align: right;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 13px;
    border-radius: 999px;
    background: #eef5fc;
    color: #183a64;
    font-weight: 800;
    font-size: 13px;
}

.status-pill:before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #22b573;
    display: inline-block;
}

.section-card {
    border: 1px solid #d9e5f0;
    border-radius: 20px;
    background: #ffffff;
    margin-bottom: 22px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(15, 50, 92, .04);
}

.section-head {
    padding: 16px 20px;
    background: linear-gradient(90deg, #f7fbff 0%, #eef6ff 100%);
    border-bottom: 1px solid #e7eff6;
}

.section-head h3 {
    margin: 0 0 4px;
    color: #09234a;
    font-size: 18px;
    font-weight: 900;
}

.section-head p {
    margin: 0;
    color: #6b8197;
    font-size: 12px;
    line-height: 1.5;
}

.section-body {
    padding: 20px;
}

.field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.field-grid.single {
    grid-template-columns: 1fr;
}

.form-field {
    display: block;
}

.form-field.full {
    grid-column: 1 / -1;
}

.field-label {
    display: block;
    margin-bottom: 7px;
    color: #183654;
    font-size: 12px;
    font-weight: 800;
}

.field-label .required {
    color: #d73925;
}

.custom-input,
.custom-select,
.custom-textarea {
    width: 100%;
    border: 1px solid #d4e0eb;
    background: #fbfdff;
    border-radius: 13px;
    padding: 11px 13px;
    font-size: 13px;
    color: #17324f;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    box-shadow: none;
}

.custom-textarea {
    min-height: 96px;
    resize: vertical;
}

.custom-input:focus,
.custom-select:focus,
.custom-textarea:focus {
    border-color: #2563eb;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10);
    outline: none;
}

.inline-action {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.inline-action .input-wrap {
    flex: 1 1 auto;
}

.action-btn {
    min-width: 120px;
    border: 0;
    border-radius: 13px;
    padding: 11px 16px;
    font-size: 13px;
    font-weight: 800;
    background: #2563eb;
    color: #ffffff;
    box-shadow: 0 12px 26px rgba(37, 99, 235, 0.18);
}

.action-btn:hover,
.action-btn:focus {
    color: #ffffff;
    background: #174fc9;
}

.option-box {
    border: 1px solid #d9e5f0;
    border-radius: 16px;
    background: #f9fbfd;
    padding: 14px 15px 7px;
}

.option-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 11px;
    color: #183654;
    font-size: 13px;
}

.option-row input {
    margin-top: 3px;
}

.field-help {
    display: block;
    margin-top: 7px;
    color: #6e8398;
    font-size: 11px;
    line-height: 1.55;
}

.error-text {
    display: block;
    margin-top: 7px;
    color: #cf3825;
    font-size: 11px;
    font-weight: 700;
}

.readonly-highlight {
    background: #f1f6fb;
    font-weight: 800;
}

.transport-wrap {
    display: none;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed #d9e5f0;
}

.paybar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 20px 22px;
    border-radius: 20px;
    background: linear-gradient(135deg, #0d47b8 0%, #2563eb 48%, #7c3aed 100%);
    color: #ffffff;
}

.paybar-copy small {
    display: block;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.84;
    margin-bottom: 5px;
}

.paybar-copy h4 {
    margin: 0;
    font-size: 22px;
    font-weight: 900;
}

.paybar-copy p {
    margin: 5px 0 0;
    color: rgba(255,255,255,0.88);
    font-size: 12px;
}

.pay-btn {
    min-width: 220px;
    border: 0;
    border-radius: 999px;
    padding: 13px 22px;
    background: #ffffff;
    color: #163454;
    font-size: 14px;
    font-weight: 900;
    box-shadow: 0 14px 30px rgba(8, 24, 44, 0.16);
}

.pay-btn:hover,
.pay-btn:focus {
    background: #f4f8fc;
    color: #163454;
}

.package-modal .modal-content {
    border-radius: 22px;
    overflow: hidden;
    border: 0;
    box-shadow: 0 24px 70px rgba(18, 38, 63, 0.22);
    max-height: 88vh;
    display: flex;
    flex-direction: column;
}

.package-modal .modal-header {
    background: linear-gradient(135deg, #173b66 0%, #2563eb 100%);
    color: #ffffff;
    border-bottom: 0;
    padding: 18px 24px;
    flex: 0 0 auto;
}

.package-modal .modal-title {
    font-size: 20px;
    font-weight: 800;
}

.package-modal .close {
    color: #ffffff;
    opacity: 0.95;
    text-shadow: none;
}

.package-modal .modal-body {
    padding: 0;
    background: #f7fafc;
    overflow-y: auto;
    flex: 1 1 auto;
}

.modal-banner-wrap {
    padding: 18px;
    background: #ffffff;
}

.modal-banner-wrap img {
    width: 100%;
    border-radius: 16px;
    display: block;
}

.modal-package-copy {
    padding: 0 24px 22px;
    text-align: center;
}

.modal-package-copy h4 {
    margin: 4px 0 8px;
    color: #163454;
    font-size: 22px;
    font-weight: 800;
}

.modal-package-copy p {
    margin: 0;
    color: #667d95;
    font-size: 13px;
    line-height: 1.7;
}

.package-modal .modal-footer {
    border-top: 1px solid #e5edf5;
    padding: 18px 24px 24px;
    text-align: center;
    background: #ffffff;
    position: sticky;
    bottom: 0;
    z-index: 3;
    flex: 0 0 auto;
}

.modal-footer-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.modal-register-btn {
    min-width: 230px;
    border-radius: 999px;
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 800;
    border: 0;
}

.modal-register-btn.icsk-btn {
    background: #173b66;
    color: #ffffff;
}

.modal-register-btn.non-icsk-btn {
    background: #d73925;
    color: #ffffff;
}

#loadinggif {
    padding-top: 8px;
    text-align: left;
}

@media screen and (max-width: 991px) {
    .hero-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-logo-box {
        width: 125px;
        height: 125px;
    }

    .hero-logo-box img {
        max-width: 88px;
        max-height: 88px;
    }

    .package-grid,
    .summary-grid,
    .field-grid {
        grid-template-columns: 1fr;
    }

    .paybar {
        flex-direction: column;
        align-items: flex-start;
    }

    .pay-btn {
        width: 100%;
        min-width: 100%;
    }
}

@media screen and (max-width: 600px) {
    .landing-shell,
    .form-shell {
        max-width: 100%;
        margin-top: 28px;
        padding: 0 12px 28px;
    }

    .landing-hero,
    .form-hero {
        padding: 28px 20px;
    }

    .landing-title,
    .hero-title {
        font-size: 30px;
    }

    .landing-subtitle,
    .hero-copy {
        font-size: 13px;
    }

    .hero-info {
        font-size: 11px;
    }

    .hero-back {
        position: static;
        display: inline-block;
        margin-top: 16px;
    }

    .landing-body,
    .form-body {
        padding: 24px 18px 28px;
    }

    .section-title-row {
        gap: 12px;
    }

    .section-main-icon {
        width: 42px;
        height: 42px;
        min-width: 42px;
        font-size: 18px;
    }

    .section-heading {
        font-size: 22px;
    }

    .section-copy {
        font-size: 11px;
    }

    .package-card {
        padding: 18px 50px 18px 16px;
        gap: 12px;
        min-height: 125px;
    }

    .package-icon {
        width: 54px;
        height: 54px;
        min-width: 54px;
        font-size: 24px;
        margin-left: 8px;
    }

    .package-title {
        font-size: 14px;
    }

    .package-meta,
    .package-description {
        font-size: 10.5px;
    }

    .footer-program-note {
        align-items: flex-start;
        padding: 16px;
    }

    .footer-program-note h4 {
        font-size: 14px;
    }

    .footer-program-note p {
        font-size: 11px;
    }

    .inline-action {
        flex-direction: column;
    }

    .action-btn,
    .modal-register-btn {
        width: 100%;
        min-width: 100%;
    }
}