/* Checkout Modal Overlay Styles */

/* Blur the background when modal is open */
body.modal-open {
    overflow: hidden;
}

body.modal-open .navbar,
body.modal-open .event-hero,
body.modal-open .event-details-layout,
body.modal-open .footer {
    filter: blur(8px);
    pointer-events: none;
}

/* Modal Overlay */
.checkout-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    animation: fadeIn 0.3s ease forwards;
    padding: 20px;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* Checkout Card Container */
.checkout-card {
    background: #0D0D0D;
    /* border-radius: 20px; */
    max-width: 1000px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    animation: scaleUp 0.3s ease forwards 0.1s;
    border: 1px solid #525861;
}

@keyframes scaleUp {
    to { transform: scale(1); }
}

/* Close Button */
.checkout-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
}

.checkout-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* Checkout Content Layout */
.checkout-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    min-height: 600px;
}

/* Left Side - Form Section */
.checkout-left {
    padding: 60px 50px;
    border-right: 1px solid #525861;
}

/* Progress Steps */
.checkout-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.step {
    display: flex;
    align-items: center;
    gap: 10px;
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #1a1a1d;
    border: 2px solid #525861;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9AA4B2;
    font-weight: 600;
    font-size: 0.9rem;
}

.step.active .step-number {
    background: #F04400;
    border-color: #F04400;
    color: white;
}

.step.completed .step-number {
    background: #251C19;
    color: #F04400;
    border-color: transparent;
}

.step-line {
    width: 60px;
    height: 2px;
    background: #525861;
}

.step.completed + .step-line {
    background: #F04400;
}

/* Form Heading */
.checkout-heading {
    font-family: 'Inter', sans-serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: white;
    margin-bottom: 30px;
}

/* Form Groups */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    background: transparent;
    border: 1px solid #9AA4B229;
    color: white;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border: 2px solid #9AA4B229;
}

.form-group input::placeholder {
    color: #666;
}

/* Submit Button */
.checkout-submit-btn {
    width: 100%;
    padding: 16px;
    background: #F04400;
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.checkout-submit-btn:hover {
    background: #d63a00;
    transform: translateY(-2px);
}

.checkout-submit-btn:disabled {
    background: #666;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Right Side - Order Summary */
.checkout-right {
    padding: 60px 40px;
    background: #131316;
}

.event-preview {
    position: relative;
    width: 100%;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
}

.event-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-preview-title {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-family: 'Anton', sans-serif;
    font-size: 1.5rem;
    text-align: center;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
    width: 90%;
}

.order-summary-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #525861;
    color: #9AA4B2;
    font-size: 0.95rem;
}

.order-item:last-child {
    border-bottom: none;
}

.order-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    margin-top: 20px;
    border-top: 2px solid #525861;
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
}

.order-total-label {
    font-size: 1rem;
    color: white;
}

.order-total-price {
    font-size: 1.5rem;
    color: white;
}

/* Event Date Badge */
.event-date-badge {
    text-align: center;
    padding: 12px;
    background: rgba(240, 68, 0, 0.1);
    border-radius: 8px;
    margin-bottom: 30px;
}

.event-date-badge p {
    color: #9AA4B2;
    font-size: 0.85rem;
    margin: 0;
}
/* ===== DESKTOP MODAL PAYMENT STYLES ===== */

/* Section Header in Modal */
.checkout-content .section-header {
    text-align: center;
    margin-bottom: 24px;
}

.checkout-content .section-subtitle {
    color: #9AA4B2;
    font-size: 0.85rem;
    margin: -8px 0 0 0;
    font-weight: 400;
}

/* Payment Options Container */
.checkout-content .payment-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.checkout-content .payment-option {
    position: relative;
    width: 100%;
}

.checkout-content .payment-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.checkout-content .payment-option label {
    display: block;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid hsl(220, 15%, 18%);
    background-color: hsl(220, 18%, 10% / 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkout-content .payment-option label:hover {
    border-color: hsl(215, 15%, 35%);
    background-color: hsl(220, 15%, 15% / 0.4);
}

.checkout-content .payment-option input[type="radio"]:checked + label {
    background-color: hsl(220, 15%, 12%);
    border-color: #4285F4;
    border-width: 2px;
}

/* Option Content Layout */
.checkout-content .option-content {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

/* Radio Circle */
.checkout-content .radio-circle {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid hsl(215, 15%, 40%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    transition: all 0.3s ease;
}

.checkout-content .radio-circle::after {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #4285F4;
    transform: scale(0);
    opacity: 0;
    transition: all 0.3s ease;
}

.checkout-content .payment-option input[type="radio"]:checked + label .radio-circle {
    border-color: #4285F4;
    background-color: transparent;
}

.checkout-content .payment-option input[type="radio"]:checked + label .radio-circle::after {
    transform: scale(1);
    opacity: 1;
}

/* Icon Container */
.checkout-content .icon-container {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background-color: hsl(220, 15%, 18% / 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.checkout-content .icon-container svg {
    width: 24px;
    height: 24px;
    fill: hsl(215, 15%, 55%);
    transition: all 0.3s ease;
}

.checkout-content .payment-option input[type="radio"]:checked + label .icon-container {
    background-color: hsl(175, 70%, 50% / 0.15);
}

/* Text Content */
.checkout-content .text-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.checkout-content .option-title {
    font-size: 1rem;
    font-weight: 600;
    color: hsl(210, 20%, 80%);
    transition: color 0.3s ease;
}

.checkout-content .payment-option input[type="radio"]:checked + label .option-title {
    color: hsl(210, 20%, 95%);
}

.checkout-content .option-description {
    font-size: 0.875rem;
    color: hsl(215, 15%, 55%);
    margin-top: 2px;
    margin-bottom: 8px;
}

/* Badges */
.checkout-content .badges {
    display: flex;
    gap: 8px;
    margin-top: 0;
    flex-wrap: wrap;
    align-items: center;
}

.checkout-content .badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 6px;
    background-color: hsl(220, 15%, 18% / 0.6);
    font-size: 0.75rem;
    color: hsl(215, 15%, 55%);
}

.checkout-content .badge svg {
    width: 14px;
    height: 14px;
}
/* Responsive */
@media (max-width: 768px) {
    .checkout-content {
        grid-template-columns: 1fr;
        max-height: 85vh;
    }
    
    .checkout-left {
        padding: 40px 30px;
        border-right: none;
        border-bottom: 1px solid #525861;
    }
    
    .checkout-right {
        padding: 30px;
    }
    
    .checkout-steps {
        gap: 10px;
    }
    
    .step-line {
        width: 30px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .event-preview {
        height: 150px;
    }
    
    .event-preview-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .checkout-card {
        border-radius: 12px;
        max-height: 95vh;
    }
    
    .checkout-left {
        padding: 30px 20px;
    }
    
    .checkout-right {
        padding: 20px;
    }
    
    .checkout-heading {
        font-size: 1.5rem;
    }
    
    .checkout-steps {
        flex-wrap: wrap;
    }
}