* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #1d3f78 0%, #006fb4 100%);
    min-height: 100vh;
    color: #333;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.success-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    overflow: hidden;
    margin-bottom: 20px;
}

.header {
    background: #ed1e26;
    color: white;
    padding: 30px;
    text-align: center;
}

.header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.header p {
    font-size: 1.2em;
    opacity: 0.9;
}

.content {
    padding: 30px;
}

.order-summary {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
}

.order-summary h2 {
    color: #1d3f78;
    margin-bottom: 20px;
    font-size: 1.5em;
}

.order-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: bold;
    color: #495057;
}

.detail-value {
    color: #1d3f78;
}

.tickets-section {
    margin-top: 25px!important;

}

.tickets-section h3 {
    color: #1d3f78;
    margin-bottom: 15px;
    font-size: 1.3em;
}

.seating-area {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.seating-area-header {
    background: #1d3f78;
    color: white;
    padding: 15px 20px;
    font-weight: bold;
    font-size: 2rem!important;

}

.ticket-list {
    padding: 20px;
}

.ticket-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f1f3f4;
}

.ticket-item:last-child {
    border-bottom: none;
}

.ticket-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ticket-type {
    font-weight: bold;
    color: #495057;
    min-width: 90px;

}

.ticket-quantity {
    background: #ed1e26;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.9em;
    font-weight: bold;
}

.ticket-price {
    color: #1d3f78;
    font-weight: bold;
}

.addons-section {
    margin-top: 25px;
}

.addons-section h3 {
    color: #1d3f78;
    margin-bottom: 15px;
    font-size: 1.3em;
}

.addon-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f1f3f4;
}

.addon-item:last-child {
    border-bottom: none;
}

.total-section {
    background: #1d3f78;
    color: white;
    padding: 20px;
    border-radius: 10px;
    margin-top: 25px;
}

.total-section h3 {
    margin-bottom: 15px;
    font-size: 1.3em;
}

.total-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 1.1em;
}

.total-row.final {
    border-top: 2px solid rgba(255,255,255,0.3);
    margin-top: 10px;
    padding-top: 15px;
    font-weight: bold;
    font-size: 1.3em;
}

.actions {
    text-align: center;
    margin-top: 30px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    margin: 0 10px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #ed1e26;
    color: white;
}

.btn-primary:hover {
    background: #c41820;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-success {
    background: #28a745;
    color: white;
}

.btn-secondary:hover {
    background: #545b62;
    transform: translateY(-2px);
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    margin: 20px 0;
}

.info-box {
    background: #d1ecf1;
    color: #0c5460;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    text-align: center;
}

.ticket-status {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    margin: 10px 0;
    transition: all 0.3s ease;
}

.ticket-status.checked {
    background: #28a745;
    color: white;
}

.ticket-status.not-checked {
    background: #ffc107;
    color: #212529;
}

.ticket-status.checked::before {
    content: "\2713 ";
}

.ticket-status.not-checked::before {
    content: "\25CB ";
}

.compact {
    padding: 8px !important;
    margin: 1 0 5px 0 !important;
    font-size: 1.4rem !important;

}
.success-card.compact {
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
    margin-bottom: 10px;
    padding: 0;
}
.header.compact {
    padding: 16px 8px 10px 8px;
}
.order-summary.compact, .tickets-section.compact, .addons-section.compact, .total-section.compact {
    padding: 10px 8px;
    margin-bottom: 8px;
}
.summary-list {
    list-style: none;
    padding: 0;
    margin: 0 0 8px 0;
    display: flex;
    gap: 8px 18px;
    flex-wrap: nowrap;
    flex-direction: column;
    align-items: center;
}
.summary-list li {
    min-width: 160px;
    font-size: 0.98em;
    margin: 0;
    padding: 0;
    text-align: center;
}
.seating-area.compact, .ticket-list.compact, .ticket-item.compact, .ticket-info.compact, .ticket-type.compact, .ticket-quantity.compact, .ticket-price.compact, .addon-item.compact {
    padding: 2px 0;
    margin: 0;
    font-size: 0.97em;
}
.seating-area-header.compact {
    padding: 6px 10px;
    font-size: 1em;
}
.total-section.compact {
    background: #1d3f78;
    color: white;
    border-radius: 7px;
    margin-top: 8px;
}
.total-row.compact.final {
    border-top: 1px solid rgba(255,255,255,0.18);
    margin-top: 4px;
    padding-top: 8px;
    font-size: 1.08em;
}
.info-box.compact {
    padding: 10px 8px;
    margin: 10px 0 0 0;
    font-size: 0.97em;
}
.wallet-buttons {
    margin: 30px !important;

}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .header h1 {
        font-size: 2em;
    }
    
    .order-details {
        grid-template-columns: 1fr;
    }
    
   
        .ticket-info {
            flex-direction: row;
            align-items: flex-start;
            gap: 5px;
        }
}

@media (max-width: 600px) {
    .summary-list {
        flex-direction: column;
        gap: 4px 0;
    }
    
        .wallet-buttons {
            flex-direction: row !important;
            gap: 40px !important;
        }
    
}
