/* =========================================================
   THE ENGINEERS GROUP
   PREMIUM THANK YOU PAGE
   ========================================================= */

.teg-thankyou-page {
    padding: 60px 20px 80px;
    background: #f6f8fc;
    min-height: 70vh;
}

.teg-thankyou-container {
    max-width: 1050px;
    margin: 0 auto;
}


/* =========================
   SUCCESS HEADER
   ========================= */

.teg-success-header {
    text-align: center;
    margin-bottom: 35px;
}

.teg-success-icon {
    width: 78px;
    height: 78px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #0b7a45;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    font-weight: 700;
    box-shadow: 0 12px 30px rgba(11, 122, 69, 0.20);
}

.teg-success-badge {
    display: inline-block;
    padding: 7px 16px;
    border-radius: 30px;
    background: #e8f7ef;
    color: #08753f;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
}

.teg-success-header h1 {
    margin: 0 0 10px;
    color: #10233f;
    font-size: 36px;
    font-weight: 800;
}

.teg-success-header p {
    max-width: 650px;
    margin: 0 auto;
    color: #667085;
    font-size: 16px;
    line-height: 1.7;
}


/* =========================
   ORDER INFO
   ========================= */

.teg-order-info {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: #e5e7eb;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 25px;
}

.teg-order-info-item {
    background: #fff;
    padding: 22px;
    text-align: center;
}

.teg-order-info-item span {
    display: block;
    color: #8a94a6;
    font-size: 12px;
    margin-bottom: 7px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.teg-order-info-item strong {
    color: #10233f;
    font-size: 16px;
    font-weight: 700;
}


/* =========================
   DOWNLOAD CARD
   ========================= */

.teg-download-card,
.teg-order-card,
.teg-customer-card {
    background: #fff;
    border: 1px solid #e8ebf0;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 10px 35px rgba(16, 35, 63, 0.06);
}

.teg-download-header {
    margin-bottom: 22px;
}

.teg-download-badge {
    display: inline-block;
    padding: 6px 13px;
    border-radius: 20px;
    background: #fff6df;
    color: #9a6b00;
    font-size: 12px;
    font-weight: 700;
}

.teg-download-card h2,
.teg-order-card h2,
.teg-customer-card h2 {
    margin: 10px 0 5px;
    color: #10233f;
    font-size: 24px;
    font-weight: 800;
}

.teg-download-card p,
.teg-section-heading p {
    color: #707b8d;
    margin: 0;
    line-height: 1.6;
}


/* =========================
   SECTION HEADING
   ========================= */

.teg-section-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 25px;
}

.teg-section-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 14px;
    background: #10233f;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.teg-section-heading h2 {
    margin: 0 0 3px;
}


/* =========================
   ORDER PRODUCTS
   ========================= */

.teg-product-row {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid #edf0f4;
}

.teg-product-image img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 12px;
}

.teg-product-content {
    flex: 1;
}

.teg-product-content h3 {
    margin: 0 0 6px;
    color: #172b4d;
    font-size: 16px;
    font-weight: 700;
}

.teg-product-qty {
    color: #7a8495;
    font-size: 13px;
}

.teg-product-price {
    color: #10233f;
    font-size: 16px;
    font-weight: 700;
}

.teg-order-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 22px;
    margin-top: 5px;
}

.teg-order-total-row span {
    color: #687386;
    font-weight: 600;
}

.teg-order-total-row strong {
    color: #10233f;
    font-size: 22px;
}


/* =========================
   CUSTOMER INFORMATION
   ========================= */

.teg-customer-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.teg-customer-item {
    background: #f7f9fc;
    border-radius: 12px;
    padding: 17px;
}

.teg-customer-item span {
    display: block;
    color: #8992a2;
    font-size: 12px;
    margin-bottom: 6px;
}

.teg-customer-item strong {
    display: block;
    color: #172b4d;
    font-size: 14px;
    word-break: break-word;
}


/* =========================
   SUCCESS MESSAGE
   ========================= */

.teg-success-message {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 24px;
    background: #edf9f2;
    border: 1px solid #d4efdf;
    border-radius: 18px;
    margin-bottom: 25px;
}

.teg-message-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 50%;
    background: #0b7a45;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
}

.teg-message-content h2 {
    margin: 0 0 5px;
    color: #145c38;
    font-size: 19px;
}

.teg-message-content p {
    margin: 4px 0;
    color: #527060;
    font-size: 14px;
    line-height: 1.6;
}


/* =========================
   FEATURES
   ========================= */

.teg-thankyou-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.teg-thankyou-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid #e8ebf0;
    border-radius: 15px;
    padding: 18px;
}

.feature-icon {
    font-size: 25px;
}

.teg-thankyou-feature strong {
    display: block;
    color: #172b4d;
    font-size: 14px;
}

.teg-thankyou-feature small {
    display: block;
    color: #8791a1;
    font-size: 12px;
    margin-top: 4px;
}


/* =========================
   BUTTONS
   ========================= */

.teg-thankyou-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin: 30px 0;
}

.teg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 190px;
    padding: 14px 22px;
    border-radius: 10px;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 700;
    transition: .25s ease;
}

.teg-btn-primary {
    background: #10233f;
    color: #fff !important;
}

.teg-btn-primary:hover {
    transform: translateY(-2px);
}

.teg-btn-secondary {
    background: #fff;
    color: #10233f !important;
    border: 1px solid #dce1e8;
}

.teg-btn-secondary:hover {
    transform: translateY(-2px);
}


/* =========================
   SUPPORT
   ========================= */

.teg-thankyou-support {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 22px;
    background: #fff;
    border: 1px solid #e8ebf0;
    border-radius: 18px;
    margin-bottom: 25px;
}

.teg-support-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 50%;
    background: #f2f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
}

.teg-thankyou-support h3 {
    margin: 0 0 4px;
    color: #172b4d;
    font-size: 17px;
}

.teg-thankyou-support p {
    margin: 0;
    color: #7a8495;
    font-size: 13px;
    line-height: 1.6;
}


/* =========================
   FOOTER
   ========================= */

.teg-thankyou-footer {
    text-align: center;
    padding: 25px 15px 5px;
}

.teg-thankyou-footer p {
    margin: 0 0 5px;
    color: #667085;
    font-size: 14px;
}

.teg-thankyou-footer strong {
    color: #10233f;
}

.teg-thankyou-footer span {
    color: #98a1af;
    font-size: 12px;
}


/* =========================
   MOBILE
   ========================= */

@media (max-width: 768px) {

    .teg-thankyou-page {
        padding: 35px 15px 55px;
    }

    .teg-success-header h1 {
        font-size: 28px;
    }

    .teg-order-info {
        grid-template-columns: repeat(2, 1fr);
    }

    .teg-download-card,
    .teg-order-card,
    .teg-customer-card {
        padding: 20px;
        border-radius: 16px;
    }

    .teg-customer-details {
        grid-template-columns: 1fr;
    }

    .teg-thankyou-features {
        grid-template-columns: 1fr;
    }

    .teg-thankyou-actions {
        flex-direction: column;
    }

    .teg-btn {
        width: 100%;
    }

    .teg-success-message {
        align-items: flex-start;
    }

    .teg-product-row {
        flex-wrap: wrap;
    }

    .teg-product-price {
        margin-left: 90px;
    }

}

@media (max-width: 480px) {

    .teg-order-info {
        grid-template-columns: 1fr;
    }

    .teg-success-header h1 {
        font-size: 24px;
    }

    .teg-success-icon {
        width: 68px;
        height: 68px;
        font-size: 35px;
    }

}
.teg-download-list {
    margin-top: 20px;
}

.teg-download-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 18px;
    background: #f7f9fc;
    border: 1px solid #e2e7ef;
    border-radius: 12px;
}

.teg-download-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.teg-download-info strong {
    color: #0b2850;
    font-size: 14px;
}

.teg-download-info span {
    color: #718096;
    font-size: 12px;
}

.teg-download-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 20px;
    background: #0b2850;
    color: #ffffff !important;
    border-radius: 8px;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.teg-download-button:hover {
    background: #173f75;
    color: #ffffff !important;
}

@media (max-width: 600px) {

    .teg-download-item {
        flex-direction: column;
        align-items: stretch;
    }

    .teg-download-button {
        width: 100%;
    }

}