/* ================================================================
   CONFIRMATION PAGE
   ================================================================ */

.confirmation-page {
    margin-top: 80px;
    padding: 64px 0 80px;
    background-color: var(--cream);
    min-height: 70vh;
}

.confirmation-header {
    text-align: center;
    margin-bottom: 56px;
}

.confirmation-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #e8f5e9;
    border: 2px solid #4caf50;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.confirmation-icon svg {
    width: 44px;
    height: 44px;
    color: #4caf50;
}

.confirmation-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 5vw, 52px);
    color: var(--primary-100);
    margin-bottom: 12px;
}

.confirmation-subtitle {
    font-size: 15px;
    color: var(--grey-mid);
    margin-bottom: 20px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.confirmation-ref {
    display: inline-block;
    background-color: var(--white);
    border: 1px solid var(--primary-20);
    border-radius: 3px;
    padding: 10px 24px;
    font-size: 14px;
    color: var(--grey-mid);
}

.confirmation-ref strong {
    color: var(--primary-100);
    font-size: 16px;
    margin-left: 8px;
    letter-spacing: 1px;
}

/* ----------------------------------------------------------------
   CONFIRMATION LAYOUT
   ---------------------------------------------------------------- */
.confirmation-inner {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 32px;
    align-items: start;
}

.confirmation-section {
    background-color: var(--white);
    border: 1px solid var(--grey-border);
    border-radius: 4px;
    padding: 28px;
    margin-bottom: 24px;
}

.confirmation-section:last-child {
    margin-bottom: 0;
}

.confirmation-section-title {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--dark);
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--grey-border);
}

/* ----------------------------------------------------------------
   CONFIRMATION ITEMS
   ---------------------------------------------------------------- */
.confirmation-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--grey-border);
}

.confirmation-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.confirmation-item-image {
    width: 56px;
    height: 68px;
    background-color: var(--cream);
    border: 1px solid var(--grey-border);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.confirmation-item-image svg {
    width: 28px;
    height: 28px;
    color: var(--grey-border);
}

.confirmation-item-info {
    flex: 1;
}

.confirmation-item-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 4px;
}

.confirmation-item-meta {
    font-size: 12px;
    color: var(--grey-light);
}

.confirmation-item-price {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--primary-100);
    white-space: nowrap;
}

/* ----------------------------------------------------------------
   CONFIRMATION TOTALS
   ---------------------------------------------------------------- */
.confirmation-totals {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.confirmation-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--grey-mid);
}

.confirmation-total-row span:last-child {
    font-weight: 600;
    color: var(--dark);
}

.confirmation-total-row.total {
    padding-top: 14px;
    border-top: 2px solid var(--primary-20);
    margin-top: 4px;
}

.confirmation-total-row.total span {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--primary-100);
    font-weight: normal;
}

/* ----------------------------------------------------------------
   BANK TRANSFER DETAILS
   ---------------------------------------------------------------- */
.confirmation-alert {
    border-color: var(--secondary-100);
    background-color: #fffdf0;
}

.bank-details {
    background-color: var(--cream);
    border-radius: 3px;
    padding: 20px;
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bank-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.bank-detail-row span {
    color: var(--grey-mid);
}

.bank-detail-row strong {
    color: var(--dark);
    text-align: right;
}

/* ----------------------------------------------------------------
   STATUS BADGES
   ---------------------------------------------------------------- */
.confirmation-status-badge {
    padding: 12px 20px;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 12px;
    text-align: center;
}

.confirmation-status-badge.paid {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.confirmation-status-badge.pending {
    background-color: #fff8e1;
    color: #f57f17;
    border: 1px solid #ffe082;
}

.confirmation-status-badge.order {
    background-color: var(--primary-10);
    color: var(--primary-100);
    border: 1px solid var(--primary-20);
}

/* ----------------------------------------------------------------
   COPY REF BUTTON
   ---------------------------------------------------------------- */
.confirmation-ref {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: var(--white);
    border: 1px solid var(--primary-20);
    border-radius: 3px;
    padding: 10px 20px;
    font-size: 14px;
    color: var(--grey-mid);
    flex-wrap: wrap;
    justify-content: center;
}

.confirmation-ref strong {
    color: var(--primary-100);
    font-size: 16px;
    letter-spacing: 1px;
}

.copy-ref-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background-color: var(--primary-10);
    border: 1px solid var(--primary-20);
    border-radius: 2px;
    color: var(--primary-100);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-body);
}

.copy-ref-btn:hover {
    background-color: var(--primary-100);
    color: var(--white);
    border-color: var(--primary-100);
}

.copy-ref-btn svg {
    width: 14px;
    height: 14px;
}

.copy-ref-btn.copied {
    background-color: #e8f5e9;
    border-color: #a5d6a7;
    color: #2e7d32;
}

/* ----------------------------------------------------------------
   DELIVERY DETAILS
   ---------------------------------------------------------------- */
.confirmation-delivery {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.delivery-detail-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.delivery-detail-row svg {
    width: 18px;
    height: 18px;
    color: var(--primary-100);
    flex-shrink: 0;
    margin-top: 2px;
}

.delivery-detail-row div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.delivery-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--grey-light);
}

.delivery-value {
    font-size: 14px;
    color: var(--dark);
    font-weight: 500;
    line-height: 1.5;
}

/* ----------------------------------------------------------------
   RESPONSIVE — CONFIRMATION
   ---------------------------------------------------------------- */
@media (max-width: 1024px) {
    .confirmation-inner {
        grid-template-columns: 1fr 300px;
    }
}

@media (max-width: 768px) {
    .confirmation-inner {
        grid-template-columns: 1fr;
    }

    .confirmation-right {
        order: -1;
    }

    .bank-detail-row {
        flex-direction: column;
        gap: 4px;
    }

    .bank-detail-row strong {
        text-align: left;
    }
}