/* Container layout */
.cart-summary-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem;
}


.cart-summary-wrapper {
    display: flex;
    gap: 2rem;
    flex-wrap: nowrap; /* prevent premature stacking on desktop */
}

/* Columns */
.attendees-list {
    flex: 1 1 40%;
    min-width: 0; /* allow flexbox to calculate width correctly */
}

.order-summary {
    flex: 1 1 60%;
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 2rem;
    min-width: 0;
}

/* Section heading */
.section-heading {
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.attendee-item {
    margin-bottom: 1rem;
}

.attendee-border {
    border-top: 1px solid #dee2e6;
    padding-top: 1rem;
    margin-top: 1rem;
}

.attendee-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.attendee-email {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6c757d;
    font-size: 0.875rem;
}

.attendee-amount {
    margin-top: 0.5rem;
    font-weight: bold;
    color: #0d6efd;
}

/* Summary */
.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

/* Promo code */
.promo-code {
    margin-bottom: 1rem;

}

#checkoutBtn {
}

/* Responsive overrides */
@media (max-width: 768px) {
    .cart-summary-wrapper {
        flex-direction: column;
    }

    .attendees-list,
    .order-summary {
        flex: 1 1 100%;
    }

    .order-summary {
        padding: 1rem;
    }

    .section-heading {
        font-size: 1.125rem;
    }

    .attendee-name {
        font-size: 1rem;
    }

    .attendee-email {
        font-size: 0.85rem;
    }

    .attendee-amount {
        font-size: 1rem;
    }
}
