/* =========================================================
   PATIENT APPOINTMENT CONFIRMATION
========================================================= */

.tch-confirmation-wrapper {
    padding: 60px 0;
    background: #f7f9fc;
}

.tch-confirmation-card {
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}


/* =========================================================
   HEADER
========================================================= */

.tch-confirmation-header {
    padding: 30px;
    text-align: center;
    background: #f8fbff;
    border-bottom: 1px solid #e9eef5;
}

.tch-confirmation-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: #e8f7ee;
    color: #198754;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    font-weight: 700;
}

.tch-confirmation-header h2 {
    margin: 0 0 8px;
    font-size: 28px;
    font-weight: 700;
    color: #172033;
}

.tch-confirmation-header p {
    margin: 0;
    color: #6c757d;
    font-size: 15px;
}


/* =========================================================
   BODY
========================================================= */

.tch-confirmation-body {
    padding: 35px;
}


/* =========================================================
   APPOINTMENT NUMBER
========================================================= */

.tch-appointment-number {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 12px;
    background: #f4f8ff;
    border: 1px dashed #c9d8ef;
}

.tch-appointment-number span {
    display: block;
    font-size: 13px;
    color: #6c757d;
    margin-bottom: 6px;
}

.tch-appointment-number strong {
    font-size: 25px;
    color: #1d4ed8;
    letter-spacing: 1px;
}


/* =========================================================
   SECTIONS
========================================================= */

.tch-confirmation-section {
    margin-bottom: 30px;
}

.tch-confirmation-section-title {
    margin-bottom: 18px;
    font-size: 19px;
    font-weight: 700;
    color: #172033;
}


/* =========================================================
   DETAILS GRID
========================================================= */

.tch-confirmation-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.tch-confirmation-item {
    padding: 17px 18px;
    background: #f8f9fb;
    border: 1px solid #edf0f4;
    border-radius: 10px;
}

.tch-confirmation-item small {
    display: block;
    margin-bottom: 5px;
    color: #7b8494;
    font-size: 12px;
}

.tch-confirmation-item strong {
    display: block;
    color: #202938;
    font-size: 15px;
}


/* =========================================================
   TOKEN
========================================================= */

.tch-token-box {
    text-align: center;
    padding: 22px;
    border-radius: 12px;
    background: #fff8e8;
    border: 1px solid #f4dfaa;
}

.tch-token-box span {
    display: block;
    font-size: 13px;
    color: #806b35;
    margin-bottom: 5px;
}

.tch-token-box strong {
    font-size: 32px;
    color: #9a6b00;
}


/* =========================================================
   PAYMENT
========================================================= */

.tch-payment-box {
    margin-top: 30px;
    padding: 25px;
    border-radius: 12px;
    background: #f8f9fb;
    border: 1px solid #e8ebef;
}

.tch-payment-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.tch-payment-label {
    color: #5d6675;
    font-size: 15px;
}

.tch-payment-amount {
    font-size: 26px;
    font-weight: 700;
    color: #172033;
}

.tch-payment-note {
    margin-top: 15px;
    text-align: center;
    font-size: 12px;
    color: #7b8494;
}


/* =========================================================
   BUTTONS
========================================================= */

.tch-confirmation-actions {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.tch-confirmation-btn {
    border: 0;
    border-radius: 8px;
    padding: 13px 28px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tch-back-btn {
    background: #eef1f5;
    color: #343a40;
}

.tch-back-btn:hover {
    background: #e1e5ea;
    color: #343a40;
}

.tch-payment-btn {
    background: #198754;
    color: #ffffff;
}

.tch-payment-btn:hover {
    background: #157347;
    color: #ffffff;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .tch-confirmation-wrapper {
        padding: 35px 15px;
    }

    .tch-confirmation-body {
        padding: 22px;
    }

    .tch-confirmation-header {
        padding: 25px 20px;
    }

    .tch-confirmation-header h2 {
        font-size: 23px;
    }

    .tch-confirmation-grid {
        grid-template-columns: 1fr;
    }

    .tch-payment-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .tch-confirmation-actions {
        flex-direction: column;
    }

    .tch-confirmation-btn {
        width: 100%;
        text-align: center;
    }

    .tch-payment-amount {
        font-size: 24px;
    }
}