
.typ {
    --typ-green:       var(--color-success, #1e8e5a);
    --typ-green-light: var(--color-success-light, #e7f5ee);
    --typ-bg-alt:      var(--bg-light, #f7f8fb); 
}

.typ-container {
    max-width: var(--container-width, 1180px);
    margin: 0 auto;
    padding: 0 var(--container-padding, 24px);
}

.typ-section {
    padding: var(--space-5, 56px) 0;
}

.typ-section--alt {
    background: var(--typ-bg-alt);
}


.typ-section-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    text-align: center;
    color: var(--color-primary, #0f1c3d);
    margin: 0 0 44px;
}

.typ-heading-rule {
    flex: 1;
    max-width: 140px;
    height: 2px;
    background: var(--color-accent);
    opacity: .5;
}

/* ============================================================
   SUCCESS HERO (KEPT GREEN AS REQUESTED)
============================================================ */
.typ-hero {
    background: var(--typ-green-light);
    padding: 30px 0;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.typ-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    align-items: center;
}

.typ-check-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: var(--white, #fff);
    border: 3px solid var(--typ-green);
    margin-bottom: 22px;
}

.typ-check-badge svg {
    width: 34px;
    height: 34px;
    color: var(--typ-green);
}

.typ-hero-title {
    font-size: var(--fs-h2, 28px);
    line-height: 1.35;
    font-weight: var(--fw-extrabold, 800);
    color: var(--typ-green);
    margin: 0 0 20px;
}

.typ-hero-desc {
    font-size: 16px;
    color: var(--text-muted, #505256);
    max-width: 480px;
    margin: 0 0 28px;
}

.typ-hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.typ-hero-media {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.typ-hero-media img {
   
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    display: block;
}

.typ-application-card {
    position: absolute;
    right: 96px;
    max-width: 300px;
    background: rgba(15, 28, 61, .92);
    border-radius: 10px;
    padding: 18px 20px;
    color: var(--white, #fff);
    backdrop-filter: blur(2px);
}

.typ-application-label {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, .7);
    margin-bottom: 4px;
}

.typ-application-id {
    display: block;
    font-size: 17px;
    font-weight: var(--fw-bold, 700);
    color: var(--color-accent);
    margin-bottom: 14px;
}

.typ-application-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    color: rgba(255, 255, 255, .7);
    margin-bottom: 2px;
}

.typ-application-date svg {
    width: 14px;
    height: 14px;
}

.typ-application-date-value {
    display: block;
    font-size: 13px;
    font-weight: var(--fw-semibold, 600);
}

.typ-review-timeline {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    position: relative;
}

.typ-review-timeline::before {
    content: "";
    position: absolute;
    top: 34px;
    left: 10%;
    right: 10%;
    border-top: 2px dotted var(--border);
    z-index: 0;
}

.typ-review-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.typ-review-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--white, #fff);
    border: 2px solid var(--border);
    margin-bottom: 10px;
}

.typ-review-icon svg {
    width: 28px;
    height: 28px;
}

.typ-review-icon.typ-color-green {
    border-color: var(--typ-green);
    color: var(--typ-green);
}

.typ-review-icon.typ-color-orange {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.typ-review-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    color: var(--white, #fff);
    font-size: 11.5px;
    font-weight: var(--fw-bold, 700);
    margin: -14px auto 12px;
    position: relative;
}

.typ-review-num.typ-color-green {
    background: var(--typ-green);
}

.typ-review-num.typ-color-orange {
    background: var(--color-accent);
}

.typ-review-step h3 {
    color: var(--color-primary, #0f1c3d);
    margin: 0 0 6px;
}

.typ-review-step p {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 220px;
    margin: 0 auto;
}

.typ-next-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.typ-next-card {
    background: var(--white, #fff);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(15, 28, 61, .06);
    padding: 22px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.typ-next-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--typ-green-light);
    color: var(--typ-green);
}

.typ-next-icon svg {
    width: 20px;
    height: 20px;
}

.typ-next-card h3 {
     font-size: 16px;
    color: var(--color-primary, #0f1c3d);
    margin: 0 0 6px;
}

.typ-next-card p {
    font-size: 16px;
    color: var(--text-muted);
    margin: 0;
}


.typ-note {
    display: flex;
      align-items: flex-start;
    justify-content: center;
    gap: 10px;
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
    margin: 36px 0 0;
}
.typ-note-icon {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
}

.typ-note-icon svg {
    width: 20px;
    height: 20px;
}
.typ-note-text {
    min-width: 0;
}
.typ-note-text a {
    overflow-wrap: anywhere;
}

.typ-note a {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: var(--fw-semibold, 600);
}

.typ-note a:hover {
    text-decoration: underline;
}

@media (max-width: 991px) {
    .typ-hero-grid {
        grid-template-columns: 1fr;
    }
     .typ-note {
        gap: 8px;
        font-size: 14px;
        line-height: 1.6;
    }
     .typ-note-icon {
        width: 18px;
        height: 18px;
    }

    .typ-note-icon svg {
        width: 18px;
        height: 18px;
    }

    .typ-hero-media {
        order: -1;
    }

    .typ-review-timeline {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 36px;
    }

    .typ-review-timeline::before {
        display: none;
    }

    .typ-next-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 620px) {
    .typ-hero-title {
        font-size: var(--fs-h3, 22px);
    }

    .typ-review-timeline,
    .typ-next-grid {
        grid-template-columns: 1fr;
    }

    .typ-application-card {
        position: static;
        max-width: none;
        margin-top: 14px;
    }
}