/* ==========================================================================
   Order Confirmation Page - BRAND COLOR UPDATES
   ========================================================================== */

#page-header.order-confirmed-header {
    background-image: url("{{ asset('images/onlineshop/img/banner/b1.jpg') }}"); /* Example confirmation banner */
    height: 40vh;
    background-color: var(--primary-black); /* UPDATED: Fallback color */
}
#page-header.order-confirmed-header h2,
#page-header.order-confirmed-header p {
    color: #fff;
}

#order-confirmation-details .confirmation-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

/* --- Success Alert (Semantic Color - Kept Green) --- */
.alert.success-message {
    background-color: #e6ffed;
    border-left: 5px solid #4CAF50;
    padding: 20px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
}
.alert.success-message .icon {
    font-size: 2.5rem;
    color: #4CAF50;
    margin-right: 20px;
}
.alert.success-message h3 {
    font-size: 1.4rem;
    color: #1e4620;
    margin-top: 0;
    margin-bottom: 8px;
}
.alert.success-message p {
    font-size: 0.95rem;
    color: #333;
    margin-bottom: 0;
    line-height: 1.5;
}

.order-info-box {
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
    border: 1px solid #eee;
}
.order-info-box h4 {
    font-size: 1.3rem;
    color: #222;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e1e1e1;
}
.order-info-box p {
    font-size: 0.95rem;
    color: #465b52;
    margin-bottom: 12px;
    line-height: 1.6;
}
.order-info-box p strong {
    color: #222;
    min-width: 150px;
    display: inline-block;
}
.order-info-box .highlight {
    color: var(--primary-gold); /* UPDATED */
    font-weight: bold;
}
/* --- Status Badges (Semantic Colors - Kept as is) --- */
.status-badge {
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: capitalize;
}
.status-badge.status-paid { background-color: #d4edda; color: #155724; }
.status-badge.status-due { background-color: #f8d7da; color: #721c24; }
.status-badge.status-partial { background-color: #fff3cd; color: #856404; }
.status-badge.status-pending { background-color: #cce5ff; color: #004085; }
.status-failed {
    background-color: #dc3545;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.875rem;
}

.order-items-summary {
    margin-bottom: 30px;
}
.order-items-summary h4 {
    font-size: 1.3rem;
    color: #222;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e1e1e1;
}
.order-items-table {
    width: 100%;
    border-collapse: collapse;
}
.order-items-table thead th {
    background-color: #f8f9fa;
    padding: 12px 10px;
    text-align: left;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #dee2e6;
    font-size: 0.9rem;
    text-transform: uppercase;
}
.order-items-table tbody td {
    padding: 12px 10px;
    border-bottom: 1px solid #e9ecef;
    font-size: 0.9rem;
    color: #465b52;
    vertical-align: middle;
}
.order-items-table tbody tr:last-child td {
    border-bottom: none;
}
.order-items-table .text-center { text-align: center; }
.order-items-table .text-right { text-align: right; }
.order-items-table small { font-size: 0.8em; color: #6c757d; }

.actions-container {
    padding-top: 20px;
    border-top: 1px solid #e1e1e1;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}
.actions-container .btn.normal {
    padding: 12px 25px;
    font-size: 0.95rem;
}
.actions-container .btn.white-btn { /* For a secondary action button */
    background-color: #fff;
    color: var(--primary-gold); /* UPDATED */
    border: 1px solid var(--primary-gold); /* UPDATED */
}
.actions-container .btn.white-btn:hover {
    background-color: #fef9e7; /* Very light gold */
    color: var(--primary-gold-dark); /* UPDATED */
}

/* Primary button style */
.btn.normal {
    background-color: var(--primary-gold); /* UPDATED */
    color: #fff;
    padding: 12px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    outline: none;
    transition: 0.2s;
}
.btn.normal:hover {
    background-color: var(--primary-gold-dark);
}

/* Styles for the "Pay Now" button */
.pay-now-btn {
    background-color: var(--primary-gold); /* UPDATED */
    color: #fff;
    font-size: 1.1em;
    padding: 15px 30px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    border: none;
}
.pay-now-btn:hover {
    background-color: var(--primary-gold-dark); /* UPDATED */
}
.pay-now-container {
    margin-top: 25px;
    margin-bottom: 25px;
    text-align: center;
}

/* --- General Alert Styling (Semantic Colors - Kept as is) --- */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.95em;
}
.alert .icon { font-size: 1.8em; }
.alert-success { color: #155724; background-color: #d4edda; border-color: #c3e6cb; }
.alert-success .icon { color: #28a745; }
.alert-info { color: #0c5460; background-color: #d1ecf1; border-color: #bee5eb; }
.alert-info .icon { color: #007bff; }
.alert-danger { color: #721c24; background-color: #f8d7da; border-color: #f5c6cb; }
.alert-danger .icon { color: #dc3545; }

/* --- M-Pesa Details (Semantic Color - Kept Green) --- */
.mpesa-transaction-details {
    background-color: #e9f7ef;
    border: 1px solid #c2e1d0;
    border-left: 5px solid #28a745;
    padding: 15px;
    margin-top: 20px;
    border-radius: 5px;
    font-size: 0.9em;
}
.mpesa-transaction-details h5 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #155724;
}
.mpesa-transaction-details p {
    margin-bottom: 5px;
    line-height: 1.4;
    color: #333;
}
.mpesa-transaction-details p span {
    font-weight: bold;
    color: #155724; /* Kept green for consistency within the box */
}