﻿:root, [data-bs-theme="light"] {
    --bs-primary: #f79524 !important;
    --bs-secondary: #6c757d !important;
    --bs-success: #198754 !important;
    --bs-info: #0dcaf0 !important;
    --bs-warning: #ffc107 !important;
    --bs-danger: #dc3545 !important;
    --bs-body-bg: #ffffff !important;
    --bs-body-color: #212529 !important;
    --bs-border-color: #dee2e6 !important;
    --bs-font-sans-serif: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    --bs-link-color: var(--bs-primary) !important;
    --bs-link-hover-color: #d87f12 !important;
    --bs-card-bg: #ffffff !important;
    --bs-modal-bg: #ffffff !important;
    --bs-dropdown-bg: #ffffff !important;
    --bs-input-bg: #ffffff !important;
    --bs-input-color: #212529 !important;
    --bs-input-border-color: #ced4da !important;
    --bs-input-focus-border-color: var(--bs-primary) !important;
    --bs-input-focus-box-shadow: 0 0 0 0.2rem rgba(247, 149, 36, 0.25) !important;
    --bs-table-bg: transparent !important;
    --bs-table-color: #212529 !important;
    --bs-table-border-color: #dee2e6 !important;
    --bs-btn-font-weight: 500 !important;
    --bs-btn-border-radius: 0.5rem !important;
    --bs-btn-focus-shadow-rgb: 247, 149, 36 !important;
    --bs-btn-disabled-opacity: 0.55 !important;
    --bs-btn-primary-color: #ffffff !important;
    --bs-btn-primary-bg: var(--bs-primary) !important;
    --bs-btn-primary-border-color: var(--bs-primary) !important;
    --bs-btn-primary-hover-bg: #d87f12 !important;
    --bs-btn-primary-hover-border-color: #d87f12 !important;
    --bs-btn-primary-active-bg: #c57210 !important;
    --bs-btn-primary-active-border-color: #c57210 !important;
    --bs-btn-secondary-color: #ffffff !important;
    --bs-btn-secondary-bg: #6c757d !important;
    --bs-btn-secondary-border-color: #6c757d !important;
    --bs-btn-outline-primary-color: var(--bs-primary) !important;
    --bs-btn-outline-primary-border-color: var(--bs-primary) !important;
    --bs-btn-outline-primary-hover-bg: var(--bs-primary) !important;
    --bs-btn-outline-primary-hover-color: #ffffff !important;
}

[data-bs-theme="dark"] {
    --bs-body-bg: #121212 !important;
    --bs-body-color: #e9ecef !important;
    --bs-border-color: #2a2a2a !important;
    --bs-card-bg: #1e1e1e !important;
    --bs-modal-bg: #1e1e1e !important;
    --bs-dropdown-bg: #1e1e1e !important;
    --bs-link-color: #fbb85c !important;
    --bs-link-hover-color: #ffd08a !important;
    --bs-input-bg: #1e1e1e !important;
    --bs-input-color: #e9ecef !important;
    --bs-input-border-color: #2a2a2a !important;
    --bs-input-focus-border-color: var(--bs-primary) !important;
    --bs-input-focus-box-shadow: 0 0 0 0.2rem rgba(247, 149, 36, 0.35) !important;
    --bs-table-color: #e9ecef !important;
    --bs-table-border-color: #2a2a2a !important;
    --bs-btn-primary-color: #121212 !important;
    --bs-btn-primary-bg: var(--bs-primary) !important;
    --bs-btn-primary-border-color: var(--bs-primary) !important;
    --bs-btn-primary-hover-bg: #ffb347 !important;
    --bs-btn-primary-hover-border-color: #ffb347 !important;
    --bs-btn-primary-active-bg: #ffd08a !important;
    --bs-btn-primary-active-border-color: #ffd08a !important;
    --bs-btn-secondary-bg: #2a2a2a !important;
    --bs-btn-secondary-border-color: #2a2a2a !important;
    --bs-btn-secondary-color: #e9ecef !important;
    --bs-btn-outline-primary-hover-color: #121212 !important;
    --bs-btn-focus-shadow-rgb: 255, 179, 71 !important;
}

/* Smooth transitions when toggling theme */
body {
    transition: background-color 0.25s ease, color 0.25s ease;
}

input::placeholder {
    font-size: 14px !important;
}

/* Slight elevation consistency */
.card,
.modal-content,
.dropdown-menu {
    border-radius: 0.75rem;
}

/* Buttons feel more tactile */
.btn {
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.btn-black {
    color: #fff !important;
    background-color: #000 !important;
    border-color: #000 !important;
}

    .btn-black:hover {
        color: #fff !important;
        background-color: #000 !important;
        border-color: #000 !important;
    }

.max-h-35 {
    max-height: 35px !important;
}

.max-h-25 {
    max-height: 25px !important;
}

.accordion-button {
    padding: 1.25rem 1.5rem;
    font-size: 1rem;
    background-color: #fff;
    border: none;
}

    .accordion-button:focus {
        box-shadow: none;
        border-color: transparent;
    }

    .accordion-button:not(.collapsed) {
        background-color: #fff;
        box-shadow: none;
    }

    .accordion-button::after {
        /* background-size: 1.25rem;*/
        background-size: unset;
        width: 15px;
        height: 15px;
        margin-left: auto;
    }

.accordion-item {
    border: 1px solid #e5e7eb !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden; /* Ensure content doesn't break border-radius */
}

    /* Maintain border-radius on first and last accordion items */
    .accordion-item:first-of-type {
        border-top-left-radius: 1rem !important;
        border-top-right-radius: 1rem !important;
    }

    .accordion-item:last-of-type {
        border-bottom-left-radius: 1rem !important;
        border-bottom-right-radius: 1rem !important;
    }

    /* Fix border-radius for single accordion item */
    .accordion-item:only-of-type {
        border-radius: 1rem !important;
    }

    /* Ensure accordion button respects parent border-radius */
    .accordion-item:first-of-type .accordion-button {
        border-top-left-radius: calc(1rem - 1px) !important;
        border-top-right-radius: calc(1rem - 1px) !important;
    }

    /* When accordion is collapsed, maintain bottom border-radius */
    .accordion-item:last-of-type .accordion-button.collapsed {
        border-bottom-left-radius: calc(1rem - 1px) !important;
        border-bottom-right-radius: calc(1rem - 1px) !important;
    }

    /* Ensure accordion collapse maintains border-radius */
    .accordion-item:last-of-type .accordion-collapse {
        border-bottom-left-radius: calc(1rem - 1px) !important;
        border-bottom-right-radius: calc(1rem - 1px) !important;
    }

    /* Fix for rounded-4 class (larger border-radius) */
    .accordion-item.rounded-4 {
        border-radius: 1rem !important;
        overflow: hidden;
    }

        .accordion-item.rounded-4:first-of-type {
            border-top-left-radius: 1rem !important;
            border-top-right-radius: 1rem !important;
        }

        .accordion-item.rounded-4:last-of-type {
            border-bottom-left-radius: 1rem !important;
            border-bottom-right-radius: 1rem !important;
        }

        .accordion-item.rounded-4 .accordion-button {
            border-radius: 0 !important;
        }

        .accordion-item.rounded-4:first-of-type .accordion-button {
            border-top-left-radius: calc(1rem - 1px) !important;
            border-top-right-radius: calc(1rem - 1px) !important;
        }

        .accordion-item.rounded-4:last-of-type .accordion-button.collapsed {
            border-bottom-left-radius: calc(1rem - 1px) !important;
            border-bottom-right-radius: calc(1rem - 1px) !important;
        }

.accordion-body {
    background-color: #fff;
}

.accordion-button:focus {
    box-shadow: none !important;
    background-color: transparent !important;
    border-color: inherit;
    outline: none;
}

.accordion-button:not(.collapsed) {
    box-shadow: none !important;
    background-color: transparent !important;
    color: inherit;
}

.accordion-button::after {
    background-size: unset;
    width: 15px;
    height: 15px;
    margin: unset;
}

.filter-toggle {
    background-color: #f6f7fa;
    border-radius: 8px;
    padding: 2px 5px;
    border: 1px solid #edf0f5;
    display: flex;
    align-items: center;
    gap: 2px;
    transition: background-color 0.25s ease;
}

/* Individual option */
.filter-option {
    padding: 7px 16px;
    border-radius: 6px;
    color: #495057;
    cursor: pointer;
    user-select: none;
    transition: all 0.25s ease;
}

    .filter-option:hover {
        background-color: #eceff5;
    }

    /* Active filter */
    .filter-option.active {
        background-color: #fff;
        color: #0d0d0d;
        border: 1px solid #dee2e6;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
        transform: scale(1.02);
        transition: all 0.25s ease;
    }

/* Payment method button styling */
.btn-check:checked + .btn {
    background-color: #ffffff !important;
    border-color: #dee2e6 !important;
    color: #0d0d0d !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
    transform: scale(1.02);
}

.btn-check:not(:checked) + .btn {
    background-color: transparent !important;
    border-color: transparent !important;
    color: #495057 !important;
}

.btn-check + .btn {
    padding: 7px 16px;
    border-radius: 6px;
    transition: all 0.25s ease;
}

    .btn-check + .btn:hover {
        background-color: #eceff5 !important;
    }

    .btn-check + .btn:focus {
        box-shadow: none !important;
        background-color: inherit !important;
    }

/* ============================================
   intl-tel-input Customization
   ============================================ */

/* Match intl-tel-input with current UI styling */
.iti {
    width: 100%;
    display: block;
}

.iti__input {
    width: 100% !important;
    padding-left: 90px !important;
}

.iti__country-list {
    display: none !important; /* Hide dropdown since only Uganda */
}

.iti__selected-flag {
    padding: 0 0 0 12px;
    background-color: transparent !important;
}

.iti__flag-container {
    left: 0;
    pointer-events: none; /* Disable dropdown click */
}

.iti--allow-dropdown .iti__flag-container:hover .iti__selected-flag {
    background-color: transparent !important;
}

.iti__selected-dial-code {
    font-weight: 500;
    color: #495057;
    font-size: 1.015625rem;
    margin-top: 1px !important;
}

.iti__arrow {
    display: none !important; /* Hide dropdown arrow */
}

.form-control-lg.iti__input {
    height: calc(3.5rem + 2px);
    padding: 0.5rem 1rem 0.5rem 90px;
    font-size: 13px;
    border-radius: 0.5rem;
}

/* Ensure proper z-index for phone input */
.iti {
    z-index: 1;
}

/* Make sure the flag displays correctly */
.iti__flag {
    background-image: url("https://cdn.jsdelivr.net/npm/intl-tel-input@23.0.4/build/img/flags.png");
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .iti__flag {
        background-image: url("https://cdn.jsdelivr.net/npm/intl-tel-input@23.0.4/build/img/flags@2x.png");
    }
}

.status-container {
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    padding: 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

    /* Success state */
    .status-container.success {
        background-color: #e8f8f5;
        border-color: #a3e4d7;
    }

    /* Processing state */
    .status-container.processing {
        background-color: #fef9e7;
        border-color: #f9e79f;
    }

    /* Failed state */
    .status-container.failed {
        background-color: #fadbd8;
        border-color: #f5b7b1;
    }

/* Status icon */
.status-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}

    .status-icon.success {
        background-color: #52a089;
        color: #ffffff;
    }

    .status-icon.processing {
        background-color: #f8c471;
        color: #ffffff;
    }

    .status-icon.failed {
        background-color: #e74c3c;
        color: #ffffff;
    }

/* Status title */
.status-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0d0d0d;
    margin-bottom: 0.5rem;
}

/* Status message */
.status-message {
    color: #666666;
    font-size: 0.95rem;
}

/* Info cards */
.info-card {
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    background-color: #ffffff;
}

.info-card-title {
    font-size: 0.75rem;
    color: #666666;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-card-content {
    font-size: 1rem;
    font-weight: 600;
    color: #0d0d0d;
}

.info-card-email {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #0d0d0d;
}

    .info-card-email i {
        color: #17a2b8;
    }

/* Order summary card */
.summary-card {
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    background-color: #ffffff;
}

.summary-title {
    font-size: 1rem;
    font-weight: 700;
    color: #0d0d0d;
    margin-bottom: 1rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
}

    .summary-item:last-child {
        border-bottom: none;
    }

.summary-item-name {
    color: #0d0d0d;
    font-weight: 500;
}

.summary-item-price {
    color: #0d0d0d;
    font-weight: 500;
}

.summary-subtotal,
.summary-tax {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    color: #666666;
    font-size: 0.95rem;
}

.summary-divider {
    border-top: 1px solid #e0e0e0;
    margin: 1rem 0;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.75rem;
}

.summary-total-label {
    font-weight: 700;
    color: #0d0d0d;
}

.summary-total-amount {
    font-weight: 700;
    font-size: 1.15rem;
    color: #00a86b;
}

/* Footer card */
.footer-card {
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    padding: 1.5rem;
    background-color: #ffffff;
    text-align: center;
}

.footer-card-title {
    font-weight: 600;
    color: #0d0d0d;
    margin-bottom: 0.5rem;
}

.footer-card-link {
    color: #00a86b;
    text-decoration: none;
    font-weight: 600;
}

    .footer-card-link:hover {
        text-decoration: underline;
    }

/* Loading spinner for processing state */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.spinner {
    animation: spin 2s linear infinite;
}

/* Contact Information Container */
.contact-info-container {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 0;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Contact Information Header */
.contact-info-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    border-bottom: 1px solid #e5e7eb;
    transition: background-color 0.2s;
}

    .contact-info-header:hover {
        background-color: #f9fafb;
    }

    .contact-info-header h5 {
        font-size: 1.125rem;
        font-weight: 600;
        color: #111827;
        margin: 0;
    }

    .contact-info-header i.bi-person-circle {
        font-size: 1.5rem;
        color: #6b7280;
    }

.collapse-icon {
    font-size: 1rem;
    color: #6b7280;
    transition: transform 0.3s ease;
}

.contact-info-header.collapsed .collapse-icon {
    transform: rotate(180deg);
}

/* Contact Information Body */
.contact-info-body {
    padding: 1.5rem;
}

    .contact-info-body.collapsed {
        display: none;
    }

/* Payment Button */
.btn-payment {
    background-color: #000000;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    transition: background-color 0.2s, transform 0.1s;
    cursor: pointer;
}

    .btn-payment:hover {
        background-color: #1f2937;
        color: #ffffff;
    }

    .btn-payment:active {
        transform: scale(0.98);
    }

    .btn-payment:disabled {
        background-color: #9ca3af;
        cursor: not-allowed;
    }

/* Order Items */
.order-items {
    margin-bottom: 1rem;
}

.payment-details-container {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.payment-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

    .payment-header h4 {
        font-size: 1.25rem;
        color: #111827;
    }

    .payment-header .text-muted {
        font-size: 0.9375rem;
        color: #6b7280;
    }

.payment-body {
    padding: 1.5rem;
}

/* Payment Method Toggle - Clean Tab Style with Gray Background */
.payment-method-toggle {
    display: flex;
    width: 100%;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    background: #f5f7fa;
    padding: 0.375rem;
    border-radius: 10px;
}

.payment-method-btn {
    flex: 1;
    padding: 0.625rem 1.25rem;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: #6c757d;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

    .payment-method-btn:hover {
        background: rgba(255, 255, 255, 0.5);
        color: #495057;
    }

    .payment-method-btn.active {
        border: 1px solid #dee2e6;
        background: #ffffff;
        color: #212529;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    }

    .payment-method-btn i {
        font-size: 1rem;
        margin-right: 0.375rem;
    }

/* Payment Form Section */
.payment-form-section {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Input with Icon */
.input-with-icon {
    position: relative;
}

    .input-with-icon .input-icon {
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
        color: #9ca3af;
        font-size: 1.25rem;
    }

/* Security Notice */
.security-notice {
    display: flex;
    align-items: flex-start;
    padding: 0.75rem 1rem;
    background: #f0fdf4;
    border: 1px solid #d1fae5;
    border-radius: 8px;
    color: #065f46;
    font-size: 0.8125rem;
}

    .security-notice i {
        flex-shrink: 0;
        font-size: 1rem;
        margin-top: 0.125rem;
    }

/* Payment Button */
.btn-payment {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 1rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s;
    box-shadow: 0 4px 6px rgba(16, 185, 129, 0.2);
}

    .btn-payment:hover {
        background: linear-gradient(135deg, #059669 0%, #047857 100%);
        box-shadow: 0 6px 12px rgba(16, 185, 129, 0.3);
        transform: translateY(-2px);
        color: #ffffff;
    }

    .btn-payment:active {
        transform: translateY(0);
    }

    .btn-payment:disabled {
        background: #d1d5db;
        cursor: not-allowed;
        box-shadow: none;
    }

/* Payment Providers */
.payment-providers {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.provider-logos {
    display: flex;
    gap: 0.5rem;
}

.provider-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #f3f4f6;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #4b5563;
}

/* Secured Footer */
.secured-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
    color: #6b7280;
    font-size: 0.875rem;
}

    .secured-footer i {
        color: #10b981;
        font-size: 1rem;
    }

    .secured-footer strong {
        color: #111827;
    }

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

    .loading-overlay .spinner-border {
        width: 3rem;
        height: 3rem;
    }

/* Payment Success Container */
.payment-success-container {
    max-width: 520px;
    margin: 2rem auto;
}

/* Status Card (Processing/Timeout/Failed) */
.status-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.status-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    border-radius: 50%;
}

    .status-icon.processing {
        background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
        border: 3px solid #fbbf24;
    }

    .status-icon.failed {
        background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
        border: 3px solid #ef4444;
    }

        .status-icon.failed i {
            font-size: 3.5rem;
            color: #dc2626;
        }

    .status-icon .ti-clock {
        font-size: 3.5rem;
        color: #f59e0b;
    }

.status-title {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
}

.status-message {
    font-size: 1.0625rem;
    color: #6b7280;
    line-height: 1.6;
}

/* Progress bar styling */
.progress {
    background-color: #f3f4f6;
}

.progress-bar.bg-warning {
    background: linear-gradient(90deg, #fbbf24 0%, #f59e0b 50%, #fbbf24 100%);
    background-size: 200% 100%;
}

/* Success Card */
.success-card {
    background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 100%);
    border: 2px solid #99f6e4;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: #5eead4;
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

    .success-icon i {
        font-size: 3rem;
        color: #0f766e;
    }

.success-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
}

.success-message {
    font-size: 1rem;
    color: #6b7280;
    margin: 0;
}

/* Order Details Card */
.order-details-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.order-number-section {
    margin-bottom: 1.25rem;
}

.order-number-label {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.375rem;
}

.order-number-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
}

.confirmation-email {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    font-size: 0.9375rem;
    color: #6b7280;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

    .confirmation-email i {
        color: #10b981;
        font-size: 1.125rem;
    }

    .confirmation-email strong {
        color: #111827;
    }

/* Order Summary Card */
.order-summary-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.summary-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1.25rem;
}

.summary-items {
    margin-bottom: 1.25rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.875rem;
}

    .summary-item:last-child {
        margin-bottom: 0;
    }

.item-name {
    font-size: 0.9375rem;
    color: #6b7280;
}

.item-price {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #111827;
}

.summary-breakdown {
    padding: 1.25rem 0;
    border-top: 1px solid #e5e7eb;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

    .summary-row:last-child {
        margin-bottom: 0;
    }

.summary-label {
    font-size: 0.9375rem;
    color: #6b7280;
}

.summary-value {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #111827;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.25rem;
    border-top: 1px solid #e5e7eb;
}

.total-label {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
}

.total-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #10b981;
}

/* Action Buttons */
.action-buttons {
    margin-bottom: 2rem;
}

.btn-download {
    background-color: #111827;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 1rem 1.5rem;
    font-weight: 600;
    transition: all 0.2s;
}

    .btn-download:hover {
        background-color: #1f2937;
        color: #ffffff;
        transform: translateY(-2px);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

.btn-outline-dark {
    background-color: transparent;
    color: #111827;
    border: 1px solid #111827;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.2s;
}

    .btn-outline-dark:hover {
        background-color: #111827;
        color: #ffffff;
    }

/* Support Footer */
.support-footer {
    text-align: center;
    padding: 2rem 1.5rem;
    background: #f9fafb;
    border-radius: 12px;
}

.xente-logo {
    max-width: 120px;
    height: auto;
}

.support-text {
    font-size: 0.9375rem;
    color: #6b7280;
    margin: 0;
}

.support-link {
    color: #10b981;
    text-decoration: none;
    font-weight: 600;
}

    .support-link:hover {
        color: #059669;
        text-decoration: underline;
    }

/* Checkout Container */
.checkout-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Checkout Header */
.checkout-header {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1000;
    margin: 0 -1rem;
    padding: 0 1rem;
}

.checkout-logo {
    max-height: 60px;
    min-height: 40px;
    height: auto;
    width: auto;
    max-width: 100px;
    object-fit: contain;
    display: block;
}

.checkout-logo-sm {
    max-height: 45px;
    min-height: 32px;
    height: auto;
    width: auto;
    max-width: 50px;
    object-fit: contain;
    display: block;
    margin-bottom: 3px;
}

/* Checkout Main */
.checkout-main {
    min-height: calc(100vh - 200px);
}

/* Checkout Footer */
.checkout-footer {
    border-top: 1px solid #e5e7eb;
    margin-top: 2rem;
}

    .checkout-footer a {
        text-decoration: none;
        transition: color 0.2s;
    }

        .checkout-footer a:hover {
            color: #10b981 !important;
        }

/* Responsive */
@media (max-width: 768px) {
    .checkout-container {
        padding: 0 0.75rem;
    }

    .checkout-header {
        margin: 0 -0.75rem;
        padding: 0 0.75rem;
    }

    .checkout-logo {
        max-height: 50px;
        min-height: 35px;
        max-width: 180px;
    }

    .checkout-logo-sm {
        max-height: 40px;
        min-height: 28px;
        max-width: 140px;
    }

    .checkout-header .small {
        font-size: 0.75rem;
    }
}

/* Not Found Page Styles */
.error-icon {
    font-size: 4rem;
    color: #dc3545;
    margin-bottom: 1.5rem;
}

    .error-icon i {
        font-size: 5rem;
    }

.reason-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background-color: #dc3545;
    color: #fff;
    border-radius: 50%;
    font-size: 0.875rem;
    font-weight: 600;
    margin-right: 1rem;
    flex-shrink: 0;
}

.payment-code {
    background-color: #fff;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    border: 1px solid #e5e7eb;
    word-break: break-all;
}

/* Accordion Customization */
.accordion-button:not(.collapsed) {
    background-color: #f0f7ff;
    color: #111827;
}

.accordion-button:focus {
    border-color: #10b981;
    box-shadow: 0 0 0 0.25rem rgba(16, 185, 129, 0.15);
}
