/* ============================================================
   SH Analytics Academy — Course Booking Page Stylesheet
   cb- prefix for all classes
   ============================================================ */

/* ---- Breadcrumb ---- */
.breadcrumb-nav {
    background: var(--white);
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border);
}
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: var(--text-body);
}
.breadcrumb a {
    color: var(--teal);
    font-weight: 500;
    text-decoration: none;
}
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-separator {
    color: var(--text-body);
    opacity: 0.65;
}
.breadcrumb span:last-child {
    color: var(--navy);
    font-weight: 500;
}

/* ---- Hero ---- */
.cb-hero {
    padding: 2.5rem 0 1.5rem;
    background: var(--light-bg);
    border-bottom: 1px solid var(--border);
}
.cb-page-title {
    font-family: var(--font-head);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.22;
}
.cb-page-sub {
    color: var(--text-body);
    font-size: 0.95rem;
    margin-top: 0.5rem;
    max-width: 560px;
}

/* ---- Main / Layout ---- */
.cb-main {
    padding: 2rem 0 3rem;
}
.cb-layout {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 1.5rem;
    align-items: start;
}

/* ---- Card ---- */
.cb-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.cb-card:last-child { margin-bottom: 0; }
.cb-card-heading {
    font-family: var(--font-head);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.25rem;
}
.cb-card-sub {
    color: var(--text-body);
    font-size: 0.85rem;
    margin-bottom: 1.35rem;
}

/* ---- Form groups ---- */
.cb-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}
.cb-form-group {
    margin-bottom: 1rem;
}
.cb-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.35rem;
    font-family: var(--font-head);
}
.cb-req { color: #dc2626; margin-left: 2px; }

.cb-input,
.cb-select {
    width: 100%;
    padding: 0.65rem 0.9rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-dark);
    background: #fff;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
    -webkit-appearance: none;
    appearance: none;
}
.cb-input:focus,
.cb-select:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(0,181,163,0.1);
}
.cb-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%23a0aec0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2.25rem;
    cursor: pointer;
}

.cb-select:disabled {
    background-color: var(--light-bg);
    color: var(--text-body);
    cursor: not-allowed;
    opacity: 1;
}

/* ---- Phone prefix row ---- */
.cb-phone-row {
    display: flex;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.cb-phone-row:focus-within {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(0,181,163,0.1);
}
.cb-phone-prefix {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0 0.8rem;
    background: var(--light-bg);
    border-right: 1.5px solid var(--border);
    font-size: 0.87rem;
    font-weight: 600;
    color: var(--navy);
    white-space: nowrap;
    user-select: none;
    flex-shrink: 0;
}
.cb-phone-input {
    flex: 1;
    border: none;
    padding: 0.65rem 0.9rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-dark);
    background: #fff;
    outline: none;
    min-width: 0;
}

/* ---- Error spans ---- */
.cb-error {
    display: none;
    color: #dc2626;
    font-size: 0.72rem;
    font-weight: 500;
    margin-top: 0.3rem;
}

/* ============================================================
   REGISTRATION — Billing Card
   ============================================================ */
.cb-billing-heading {
    font-family: var(--font-head);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1.25rem;
}
.cb-billing-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 1.1rem 0;
}

/* Course selector row */
.cb-billing-course-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: var(--light-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.9rem 1rem;
    margin-bottom: 1rem;
}
.cb-billing-left {}
.cb-billing-fee-label {
    font-size: 0.78rem;
    color: var(--text-body);
    font-weight: 500;
    margin-bottom: 0.2rem;
}
.cb-billing-course-name {
    font-family: var(--font-head);
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--navy);
}
.cb-billing-price {
    font-family: var(--font-head);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--navy);
    flex-shrink: 0;
}

/* Razorpay block */
.cb-razorpay-block {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1rem 1.1rem;
    margin-bottom: 1rem;
    background: var(--light-bg);
}
.cb-razorpay-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.45rem;
    color: var(--navy);
    font-size: 0.88rem;
    font-weight: 600;
    font-family: var(--font-head);
}
.cb-razorpay-header svg { color: var(--teal); flex-shrink: 0; }
.cb-razorpay-text {
    color: var(--text-body);
    font-size: 0.81rem;
    margin-bottom: 0.75rem;
    line-height: 1.5;
}
.cb-trust-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.cb-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: rgba(0,181,163,0.08);
    color: var(--teal);
    border: 1px solid rgba(0,181,163,0.2);
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.2rem 0.65rem;
    font-family: var(--font-head);
}

/* Pay button */
.cb-pay-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.5rem;
    background: var(--teal);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.18s;
    margin-bottom: 0.6rem;
}
.cb-pay-btn:hover { background: var(--teal-hover); }
.cb-pay-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    background: var(--teal);
}

.cb-redirect-note {
    color: var(--text-body);
    font-size: 0.77rem;
    text-align: center;
    margin-bottom: 1rem;
    line-height: 1.5;
}

/* After-payment info boxes */
.cb-after-boxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.cb-after-box {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.75rem;
}
.cb-after-box-icon {
    color: var(--teal);
    flex-shrink: 0;
    margin-top: 1px;
}
.cb-after-box-title {
    font-family: var(--font-head);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.2rem;
}
.cb-after-box-text {
    color: var(--text-body);
    font-size: 0.75rem;
    line-height: 1.45;
}

.cb-important-note {
    background: rgba(220,38,38,0.05);
    border: 1px solid rgba(220,38,38,0.18);
    border-radius: var(--radius-sm);
    padding: 0.65rem 0.85rem;
    color: #991b1b;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.45;
}

/* ============================================================
   WAITLIST — Left card styles
   ============================================================ */
.cb-wl-security-box {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0,181,163,0.06);
    border: 1px solid rgba(0,181,163,0.18);
    border-radius: var(--radius-sm);
    padding: 0.65rem 0.9rem;
    color: var(--navy);
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 1rem;
}
.cb-wl-security-box svg { color: var(--teal); flex-shrink: 0; }

.cb-wl-cta-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.5rem;
    background: var(--teal);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.18s;
    margin-bottom: 0.6rem;
}
.cb-wl-cta-btn:hover { background: var(--teal-hover); }

.cb-wl-below-note {
    text-align: center;
    color: var(--text-body);
    font-size: 0.8rem;
    line-height: 1.5;
}

/* ============================================================
   RIGHT COLUMN — Info cards
   ============================================================ */
.cb-info-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.2rem 1.25rem;
    margin-bottom: 1rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.cb-info-card:last-child { margin-bottom: 0; }
.cb-info-card-header {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.6rem;
}
.cb-info-icon-box {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.cb-icon-yellow { background: rgba(217,119,6,0.1); }
.cb-icon-navy   { background: rgba(13,27,62,0.08); }
.cb-icon-red    { background: rgba(220,38,38,0.08); }
.cb-icon-teal   { background: rgba(0,181,163,0.1); }
.cb-icon-blue   { background: rgba(59,130,246,0.1); }

.cb-info-title {
    font-family: var(--font-head);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--navy);
    padding-top: 0.5rem;
}
.cb-info-body {
    color: var(--text-body);
    font-size: 0.83rem;
    line-height: 1.55;
    margin-bottom: 0.4rem;
}
.cb-info-body:last-child { margin-bottom: 0; }

/* Steps list */
.cb-steps-list { margin-top: 0.35rem; }
.cb-step-row {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    font-size: 0.83rem;
    color: var(--text-body);
    margin-bottom: 0.4rem;
    line-height: 1.45;
}
.cb-step-row:last-child { margin-bottom: 0; }
.cb-step-num {
    font-weight: 700;
    color: var(--navy);
    white-space: nowrap;
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* Waitlist benefits list */
.cb-wl-benefit-list {
    margin: 0.4rem 0 0;
    padding: 0;
    list-style: none;
}
.cb-wl-benefit-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.83rem;
    color: var(--text-body);
    margin-bottom: 0.4rem;
    line-height: 1.45;
}
.cb-wl-benefit-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    min-width: 6px;
    border-radius: 50%;
    background: var(--teal);
    margin-top: 0.48rem;
    flex-shrink: 0;
}
.cb-wl-benefit-list li:last-child { margin-bottom: 0; }

/* Contact link */
.cb-contact-link {
    color: var(--teal);
    font-size: 0.83rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    margin-top: 0.3rem;
    transition: color 0.15s;
}
.cb-contact-link:hover { color: var(--teal-hover); }

/* Bottom security line below right column */
.cb-bottom-security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    color: var(--text-body);
    font-size: 0.79rem;
    margin-top: 0.75rem;
    text-align: center;
}
.cb-bottom-security svg { color: var(--teal); flex-shrink: 0; }

/* ============================================================
   BENEFIT STRIP (bottom of page)
   ============================================================ */
.cb-strip-section {
    background: var(--navy);
    padding: 2rem 0;
}
.cb-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}
.cb-strip-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}
.cb-strip-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    background: rgba(0,181,163,0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal);
    flex-shrink: 0;
}
.cb-strip-title {
    font-family: var(--font-head);
    font-size: 0.88rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.2rem;
}
.cb-strip-text {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.45;
}

/* ============================================================
   FALLBACK
   ============================================================ */
.cb-fallback-wrap { padding: 3rem 0; }
.cb-fallback-card {
    text-align: center;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 3rem 2rem;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 1px 6px rgba(0,0,0,0.05);
}
.cb-fallback-icon {
    width: 56px;
    height: 56px;
    background: rgba(0,181,163,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal);
    margin: 0 auto 1.25rem;
}
.cb-fallback-card h2 {
    font-family: var(--font-head);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.6rem;
}
.cb-fallback-card p {
    color: var(--text-body);
    font-size: 0.9rem;
    margin-bottom: 1.35rem;
    line-height: 1.55;
}
.cb-fallback-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.78rem 1.5rem;
    background: var(--teal);
    color: #fff;
    border-radius: var(--radius-sm);
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.18s;
}
.cb-fallback-btn:hover { background: var(--teal-hover); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .cb-layout {
        grid-template-columns: 1fr;
    }
    .cb-strip {
        grid-template-columns: repeat(2, 1fr);
    }
    .cb-after-boxes {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .cb-form-row { grid-template-columns: 1fr; }
    .cb-page-title { font-size: 1.45rem; }
    .cb-strip { grid-template-columns: 1fr; }
    .cb-pay-btn,
    .cb-wl-cta-btn { font-size: 0.95rem; padding: 0.85rem 1rem; }
    .cb-card { padding: 1.25rem; }
    .cb-info-card { padding: 1rem; }
}

/* ============================================================
   TERMS & CONDITIONS MODAL  (tcm- prefix)
   ============================================================ */
.tcm-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(13, 27, 62, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.22s ease;
    backdrop-filter: blur(2px);
}
.tcm-overlay--open { opacity: 1; }

.tcm-modal {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 620px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(13, 27, 62, 0.22);
    position: relative;
    transform: translateY(14px) scale(0.98);
    transition: transform 0.22s ease, opacity 0.22s ease;
    opacity: 0;
}
.tcm-overlay--open .tcm-modal {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.tcm-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    border-radius: 50%;
    color: var(--text-body);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    flex-shrink: 0;
}
.tcm-close:hover { background: var(--light-bg); color: var(--navy); }

.tcm-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-right: 2rem;
}
.tcm-header-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: rgba(0, 181, 163, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.tcm-header-text { padding-top: 0.2rem; }
.tcm-title {
    font-family: var(--font-head);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.3rem;
    line-height: 1.2;
}
.tcm-subtitle {
    color: var(--text-body);
    font-size: 0.85rem;
    line-height: 1.5;
}

.tcm-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 0 0 1.25rem;
}

.tcm-body {
    background: #f8faff;
    border: 1px solid #e5eaf4;
    border-radius: 10px;
    padding: 0.2rem 0;
    margin-bottom: 1.25rem;
}
.tcm-item {
    display: flex;
    gap: 0.875rem;
    align-items: flex-start;
    padding: 0.9rem 1rem;
    border-bottom: 1px solid #edf0f7;
}
.tcm-item:last-child { border-bottom: none; }
.tcm-item-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: rgba(0, 181, 163, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.1rem;
}
.tcm-item-title {
    font-family: var(--font-head);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.2rem;
}
.tcm-item-text {
    color: var(--text-body);
    font-size: 0.82rem;
    line-height: 1.55;
}
.tcm-link {
    color: var(--teal);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(0, 181, 163, 0.4);
    transition: color 0.15s, text-decoration-color 0.15s;
}
.tcm-link:hover { color: var(--teal-hover); text-decoration-color: var(--teal-hover); }

.tcm-security-notice {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #eff8ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    padding: 0.7rem 1rem;
    color: #1e40af;
    font-size: 0.82rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
}
.tcm-security-notice svg { color: #3b82f6; flex-shrink: 0; }

.tcm-actions {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.tcm-btn-decline {
    flex: 0 0 auto;
    padding: 0.75rem 1.5rem;
    background: #fff;
    color: var(--navy);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-head);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
}
.tcm-btn-decline:hover { border-color: var(--navy); background: var(--light-bg); }
.tcm-btn-agree {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.75rem 1.5rem;
    background: var(--teal);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-head);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.18s;
}
.tcm-btn-agree:hover { background: var(--teal-hover); }
.tcm-btn-agree:disabled { opacity: 0.55; cursor: not-allowed; background: var(--teal); }

.tcm-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    color: var(--text-body);
    font-size: 0.78rem;
    text-align: center;
}
.tcm-footer svg { color: var(--text-body); flex-shrink: 0; }
.tcm-footer strong { color: var(--navy); }

@media (max-width: 600px) {
    .tcm-modal { padding: 1.5rem 1.25rem; max-height: 95vh; }
    .tcm-header-icon { width: 46px; height: 46px; min-width: 46px; }
    .tcm-title { font-size: 1.1rem; }
    .tcm-actions { flex-direction: column; }
    .tcm-btn-decline { width: 100%; text-align: center; }
}

/* ============================================================
   CR-SUCCESS — Post-Payment Success Page (Course Registration)
   ============================================================ */

/* ---- Hero ---- */
.cr-success-hero {
    background: var(--white);
    padding: 3.5rem 0 2.5rem;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.cr-success-check-ring {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #f0faf9;
    border: 2px solid #c3ece8;
    margin-bottom: 1.25rem;
}

.cr-success-hero-heading {
    font-family: var(--font-head);
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.cr-success-hero-sub {
    font-size: 1.05rem;
    color: var(--text-body);
    margin-bottom: 0.75rem;
}

.cr-success-hero-text {
    font-size: 0.93rem;
    color: var(--text-body);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.75;
}

/* ---- Summary card ---- */
.cr-success-summary-wrap {
    padding: 2rem 0;
    background: var(--light-bg);
}

.cr-success-summary-card {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.cr-success-summary-col {
    padding: 1.75rem 1.25rem;
    text-align: center;
    border-right: 1px solid var(--border);
}

.cr-success-summary-col:last-child {
    border-right: none;
}

.cr-success-col-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f0faf9;
    margin-bottom: 0.85rem;
}

.cr-success-col-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--teal);
    margin-bottom: 0.45rem;
}

.cr-success-col-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.5;
    word-break: break-word;
}

.cr-success-col-sub {
    font-size: 0.82rem;
    color: var(--text-light);
    margin-top: 0.2rem;
}

.cr-success-pid {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    color: var(--navy);
    word-break: break-all;
}

/* ---- What's Next highlight ---- */
.cr-success-next-wrap {
    padding: 1.5rem 0 2rem;
    background: var(--light-bg);
}

.cr-success-next-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: #f0faf9;
    border: 1px solid #c3ece8;
    border-radius: var(--radius);
    padding: 1.5rem 2rem;
}

.cr-success-next-info-icon {
    flex-shrink: 0;
}

.cr-success-next-body {
    flex: 1;
}

.cr-success-next-heading {
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.35rem;
}

.cr-success-next-text {
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.7;
}

.cr-success-next-envelope {
    flex-shrink: 0;
    opacity: 0.85;
}

/* ---- What Happens Next steps ---- */
.cr-success-steps-section {
    padding: 3rem 0;
    background: var(--white);
}

.cr-success-steps-heading {
    font-family: var(--font-head);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--navy);
    text-align: center;
    margin-bottom: 2rem;
}

.cr-success-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.cr-success-step-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem 1.25rem 1.5rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
}

.cr-success-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--teal);
    color: var(--white);
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cr-success-step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #f0faf9;
    margin-bottom: 1rem;
}

.cr-success-step-title {
    font-family: var(--font-head);
    font-size: 0.97rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.6rem;
}

.cr-success-step-text {
    font-size: 0.875rem;
    color: var(--text-body);
    line-height: 1.65;
}

/* ---- Need Help ---- */
.cr-success-help-wrap {
    padding: 0 0 2rem;
    background: var(--white);
}

.cr-success-help-card {
    display: flex;
    align-items: center;
    gap: 0;
    background: linear-gradient(135deg, #f0faf9 0%, #f8fafc 100%);
    border: 1px solid #c3ece8;
    border-radius: var(--radius);
    padding: 2rem 2.5rem;
    overflow: hidden;
}

.cr-success-help-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    padding-right: 2rem;
}

.cr-success-help-divider {
    width: 1px;
    height: 60px;
    background: #c3ece8;
    flex-shrink: 0;
}

.cr-success-help-right {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
    padding-left: 2rem;
    justify-content: space-between;
}

.cr-success-help-connect {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cr-success-help-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #c3ece8;
}

.cr-success-help-heading {
    font-family: var(--font-head);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.2rem;
}

.cr-success-help-connect-heading {
    font-family: var(--font-head);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--teal);
    margin-bottom: 0.2rem;
}

.cr-success-help-sub {
    font-size: 0.875rem;
    color: var(--text-body);
    line-height: 1.55;
}

.cr-success-help-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    padding: 0.65rem 1.25rem;
    border: 2px solid var(--teal);
    border-radius: var(--radius-sm);
    background: transparent;
    font-family: var(--font-head);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--navy);
    text-decoration: none;
    transition: background 0.18s, color 0.18s;
    white-space: nowrap;
}

.cr-success-help-btn svg { color: var(--teal); transition: color 0.18s; }
.cr-success-help-btn:hover { background: var(--teal); color: var(--white); }
.cr-success-help-btn:hover svg { color: var(--white); }

/* ---- Encouragement ---- */
.cr-success-encourage-wrap {
    padding: 0 0 2rem;
    background: var(--white);
}

.cr-success-encourage-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: #f0faf9;
    border: 1px solid #c3ece8;
    border-radius: var(--radius);
    padding: 1.5rem 2rem;
}

.cr-success-encourage-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid #c3ece8;
}

.cr-success-encourage-text h2,
.cr-success-encourage-heading {
    font-family: var(--font-head);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.3rem;
}

.cr-success-encourage-text p {
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.65;
}

/* ---- Security note ---- */
.cr-success-security-wrap {
    padding: 0 0 3rem;
    background: var(--white);
}

.cr-success-security-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.83rem;
    color: var(--text-light);
    text-align: center;
}

/* ---- Responsive ---- */
@media (max-width: 960px) {
    .cr-success-summary-card {
        grid-template-columns: repeat(2, 1fr);
    }
    .cr-success-summary-col:nth-child(2) { border-right: none; }
    .cr-success-summary-col:nth-child(1),
    .cr-success-summary-col:nth-child(2) { border-bottom: 1px solid var(--border); }
    .cr-success-steps-grid { grid-template-columns: repeat(2, 1fr); }
    .cr-success-next-envelope { display: none; }
}

@media (max-width: 640px) {
    .cr-success-hero { padding: 2.5rem 0 2rem; }
    .cr-success-hero-heading { font-size: 1.55rem; }
    .cr-success-summary-card { grid-template-columns: 1fr; }
    .cr-success-summary-col { border-right: none; border-bottom: 1px solid var(--border); }
    .cr-success-summary-col:last-child { border-bottom: none; }
    .cr-success-steps-grid { grid-template-columns: 1fr; }
    .cr-success-help-card { flex-direction: column; gap: 1.25rem; padding: 1.5rem; }
    .cr-success-help-left { padding-right: 0; }
    .cr-success-help-divider { width: 100%; height: 1px; }
    .cr-success-help-right { flex-direction: column; align-items: flex-start; padding-left: 0; gap: 1rem; }
    .cr-success-help-btn { width: 100%; justify-content: center; }
    .cr-success-encourage-card { flex-direction: column; text-align: center; }
    .cr-success-next-card { flex-direction: column; text-align: center; padding: 1.25rem; }
}

/* ── Course Registration Success: Summary Row 2 (Public IP / Date/Time / Browser) ── */
.cr-success-summary-row2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    margin: 0.5rem 0 1.5rem;
}
.cr-success-summary-col3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.1rem 0.75rem;
    border-right: 1px solid var(--border);
}
.cr-success-summary-col3:last-child { border-right: none; }
.cr-success-mono {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.82rem;
    font-weight: 400;
    color: var(--navy);
    word-break: break-all;
}
@media (max-width: 640px) {
    .cr-success-summary-row2 { grid-template-columns: 1fr; }
    .cr-success-summary-col3 { border-right: none; border-bottom: 1px solid var(--border); }
    .cr-success-summary-col3:last-child { border-bottom: none; }
}
