/* --- Premium Checkout Styles --- */

.checkout-container {
    background-color: var(--checkout-bg);
    min-height: 100vh;
}

/* Checkout Hero Section */
.checkout-hero {
    height: 55vh;
    min-height: 480px;
    padding-top: 120px;
    /* Increased for mobile badge visibility */
    /* Space for navbar */
    padding-bottom: 150px;
    /* Increased bottom padding for gap */
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.2) 100%), url('https://images.unsplash.com/photo-1476514525535-07fb3b4ae5f1?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    /* Center vertically within the provided space */
    justify-content: flex-start;
    /* Align content to the left */
    text-align: left;
    /* Align text to the left */
    position: relative;
    border-radius: 0;
    margin-bottom: 0;
    z-index: 1;
}

@media (max-width: 576px) {
    .checkout-hero {
        padding-top: 140px;
        /* Even more space for the badge on extra small screens */
        height: auto;
        min-height: 400px;
    }
}

.checkout-container {
    padding-top: 3rem !important;
    background-color: var(--checkout-bg);
    margin-top: -80px;
    /* Reduced overlap to increase perceived gap */
    position: relative;
    z-index: 2;
    border-radius: 50px 50px 0 0;
    box-shadow: 0 -40px 80px rgba(0, 0, 0, 0.1);
}

/* Tablet Optimizations */
@media (max-width: 1199px) {
    .luxury-ticket-white {
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
    }

    .luxury-ticket-white #payBtn {
        font-size: 0.85rem !important;
        padding: 0.85rem !important;
    }

    /* Reduce Secure Payment Card padding on tablets */
    .checkout-card.p-md-5 {
        padding: 1.5rem !important;
    }
}

/* Reduce Total Amount Due globally */
.luxury-ticket-white h2.h1 {
    font-size: 1.75rem !important;
    letter-spacing: -0.5px;
}


.checkout-card {
    background: #f8f9fa;
    /* Light Gray Background */
    border: 1px solid var(--gray-200);
    border-radius: 24px;
    /* box-shadow: var(--checkout-shadow); */
    transition: var(--transition);
}

.checkout-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px -15px rgba(76, 51, 152, 0.15);
}

.checkout-input {
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    background: rgba(255, 255, 255, 0.5) !important;
    border-radius: 12px !important;
    transition: var(--transition) !important;
}

.checkout-input:focus {
    background: #fff !important;
    border-color: var(--checkout-accent) !important;
    box-shadow: 0 0 0 4px rgba(125, 95, 255, 0.1) !important;
}

/* Luxury Ticket Style Summary (White Variant) */
.luxury-ticket-white {
    background: #ffffff;
    color: var(--secondary);
    border: 1px solid var(--gray-200);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

.luxury-ticket-white .p-md-5 {
    padding: 1.5rem 1.5rem !important;
}

.tour-visual {
    height: 110px !important;
    margin-bottom: 1rem !important;
}

.luxury-ticket-white .h4 {
    font-size: 1.1rem !important;
}

.luxury-ticket-white .pricing-table {
    font-size: 0.9rem !important;
}

.luxury-ticket-white #payBtn {
    padding: 1rem !important;
    font-size: 1.1rem !important;
}

.luxury-ticket-white::before,
.luxury-ticket-white::after {
    content: "";
    position: absolute;
    width: 40px;
    height: 40px;
    background: var(--checkout-bg);
    border-radius: 50%;
    top: 70%;
    transform: translateY(-50%);
}

.luxury-ticket-white::before {
    left: -20px;
    border-right: 1px solid var(--gray-200);
}

.luxury-ticket-white::after {
    right: -20px;
    border-left: 1px solid var(--gray-200);
}

.ticket-divider-dark {
    border-top: 2px dashed var(--gray-200);
    margin: 1.5rem 0;
    position: relative;
}

.pricing-table .mb-3 {
    margin-bottom: 0.5rem !important;
}

/* Payment Switcher Styles */
.payment-switcher {
    display: flex;
    background: #f1f3f5;
    padding: 6px;
    border-radius: 16px;
    margin-bottom: 2rem;
    position: relative;
    gap: 8px;
}

.switcher-item {
    flex: 1;
    position: relative;
    z-index: 1;
}

.switcher-item input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.switcher-label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    color: #6c757d;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.9rem;
    gap: 10px;
}

.switcher-item input:checked+.switcher-label {
    background: #ffffff;
    color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.payment-logo {
    height: 24px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.6);
    transition: all 0.3s ease;
}

.switcher-item input:checked+.switcher-label .payment-logo {
    filter: grayscale(0%) opacity(1);
}

.payment-method-card {
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 20px;
    transition: var(--transition);
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.payment-method-card.active {
    border-color: var(--checkout-accent);
    background: rgba(125, 95, 255, 0.02);
}


.ls-1 {
    letter-spacing: 1px;
}

.ls-2 {
    letter-spacing: 2px;
}

.extra-small {
    font-size: 0.7rem;
}

.trust-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
}