html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: Poppins, sans-serif;
    font-size: 1.125rem;
    position: relative;
    min-height: 100vh;
    background: transparent;
    margin: 0;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: var(--body-bg-image);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-color: #000;
    z-index: -1;
    will-change: transform;
    pointer-events: none;
}

.wrapper, #page-container, main {
    position: relative;
    z-index: 1;
}

.main-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 100vh;
    padding: 30px 20px;
    box-sizing: border-box;
}

.content-section {
    padding: 10px 40px 40px 40px;
}

.summary-box {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 25px;
    margin-top: 30px;
}

.ticket-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 800px;
    width: 100%;
    display: flex;
    flex-direction: column;
}

@media (max-width: 768px) {
    .main-container {
        padding: 0;
        align-items: stretch;
        justify-content: flex-start;
        min-height: 100vh;
    }

    .content-section {
        padding: 10px 10px 10px 10px;
    }

    .ticket-card {
        border-radius: 0;
    }
}

.wizard-steps {
    display: flex;
    justify-content: space-between;
    padding: 30px 40px 0;
    margin-bottom: 20px;
    position: relative;
}
.wizard-steps::before {
    content: "";
    position: absolute;
    top: 50px;
    left: 40px;
    right: 40px;
    height: 3px;
    background: #e0e0e0;
    z-index: 0;
}
.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
    z-index: 1;
}
.step-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: 3px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2em;
    color: #999;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}
.step-item.active .step-circle {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: white;
}
.step-item.completed .step-circle {
    background: #667eea;
    border-color: #667eea;
    color: white;
}
.step-label {
    font-size: 0.9em;
    color: #999;
    font-weight: 600;
    text-align: center;
}
.step-item.active .step-label {
    color: #667eea;
}
.step-item.completed .step-label {
    color: #667eea;
}
.wizard-content {
    display: none;
}
.wizard-content.active {
    display: block;
}

.ticket-option-row {
    background: #ffffff;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    transition: all 0.3s ease;
}
.ticket-option-row:hover {
    border-color: #667eea;
    background: linear-gradient(
            135deg,
            rgba(102, 126, 234, 0.02) 0%,
            rgba(118, 75, 162, 0.02) 100%
    );
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.1);
}

.ticket-details {
    flex: 1;
}

.ticket-quantity .form-label {
    margin: 0;
    white-space: nowrap;
    font-size: 0.9rem;
    color: #666;
}

.ticket-option-row {
    background: #ffffff;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 12px;

    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    transition: all 0.3s ease;
}

.ticket-option-row.has-error {
    border-color: #dc3545;
    /*background-color: #fffbfb;*/
}

.row-error-message {
    width: 100%;
    color: #dc3545;
    background-color: #fdecece8;
    padding: 8px 12px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 0.9em;
    display: flex;
    align-items: center;
}

.row-error-message ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ticket-info {
    flex: 1;
    display: flex;
    align-items: center;
    min-width: 400px;
    /*gap: 20px;*/
}

.ticket-quantity {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: flex-end;
    flex-grow: 1;
}

.quantity-input {
    width: 70px;
    text-align: center;
    font-size: 1.05em;
    font-weight: 600;
    padding: 8px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    display: none !important;
}

.alert-danger ul {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

.alert-danger ul li {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.quantity-input:focus {
    border-color: #667eea;
    outline: none;
}
.ticket-title {
    font-size: 1.1em;
    font-weight: 600;
    color: #333;
    margin-bottom: 3px;
}
.ticket-description {
    color: #888;
    font-size: 0.85em;
    margin-bottom: 5px;
}
.ticket-price {
    font-size: 1.3em;
    font-weight: 700;
    color: #667eea;
    min-width: 80px;
    text-align: left;
}
.form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}
.form-control,
.form-select {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 1em;
    transition: border-color 0.3s ease;
}
.form-control:focus,
.form-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.15);
}

.wizard-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}
.wizard-buttons button {
    flex: 1;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 1.1em;
}
.summary-total {
    border-top: 3px solid #667eea;
    padding-top: 15px;
    margin-top: 15px;
    font-weight: 700;
    font-size: 1.4em;
    color: #667eea;
}
.info-notice {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 30px;
    text-align: center;
    color: #856404;
    font-weight: 600;
}
.success-message {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    display: none;
}
.success-message h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}
.success-message p {
    font-size: 1.2em;
    margin-bottom: 30px;
}
.checkmark {
    font-size: 4em;
    margin-bottom: 20px;
}
.payment-method {
    border: 3px solid #e0e0e0;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
}
.payment-method:hover {
    border-color: #667eea;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
}
.payment-method.selected {
    border-color: #667eea;
    background: linear-gradient(
            135deg,
            rgba(102, 126, 234, 0.1) 0%,
            rgba(118, 75, 162, 0.1) 100%
    );
}
.payment-method input[type="radio"] {
    width: 24px;
    height: 24px;
    cursor: pointer;
    flex-shrink: 0;
}
.payment-method label {
    cursor: pointer;
    margin: 0;
    flex: 1;
}
.payment-name {
    font-size: 1.3em;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}
.payment-description {
    color: #666;
    font-size: 0.95em;
}
.toast-message {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #dc3545;
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    animation: slideIn 0.3s ease;
}
@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.ticket-count {
    width: 70px;
    text-align: center;
    font-size: 1.05rem;
    font-weight: 600;
    padding: 8px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
}

.summary-section {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    background-color: #ffffff;
}

.summary-title {
    font-size: 24px;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0 0 24px 0;
}

.summary-items-container {
    border-bottom: none;
}

.summary-items-container + .summary-items-container {
    border-top: 2px dashed #cbd5e1;
    padding-top: 6px;
    margin-top: 6px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2px 0;
}

.summary-item-name {
    font-size: 15px;
    color: #475569;
}

.summary-item-qty {
    font-size: 14px;
    color: #64748b;
    margin-left: 8px;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    border-top: 2px solid #1a1a2e;
}

.summary-total-label {
    font-size: 20px;
    font-weight: 800;
    color: #1a1a2e;
}

.summary-total-price {
    font-size: 28px;
    font-weight: 800;
    color: #667eea;
}

footer {
    background-color: #fff;
    border-top: 1px solid #dee2e6;
    padding: 0.5rem 0;
    margin-top: 4rem;
}

.footer-link {
    color: #6c757d;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-link:hover {
    color: #0d6efd;
}

.powered-by {
    font-size: 0.8rem;
    color: #adb5bd;
}

.powered-by strong {
    color: #6c757d;
}

@media (max-width: 768px) {
    .hero-banner {
        min-height: auto !important;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .hero-content h1 {
        font-size: 1.75rem;
        word-wrap: break-word;
    }

    .hero-content {
        padding-left: 20px;
        padding-right: 20px;
        width: 100%;
    }

    .hero-content p.lead {
        font-size: 1rem;
    }
}
