/* E-Ticket Styles */
.e-ticket {
    background: #fff;
    border-radius: 16px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.ticket-header {
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 20px;
    text-align: center;
    border-bottom: 2px dashed rgba(0, 0, 0, 0.1);
    position: relative;
}

/* Semi-circle cutouts for the header separator */
.ticket-header::after,
.ticket-header::before {
    content: '';
    position: absolute;
    bottom: -10px;
    width: 20px;
    height: 20px;
    background-color: #f8f9fa;
    /* Matches page background if possible, or transparent if on glass */
    border-radius: 50%;
}

.ticket-header::before {
    left: -10px;
}

.ticket-header::after {
    right: -10px;
}

.ticket-body {
    padding: 20px;
}

.ticket-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.ticket-label {
    color: #6c757d;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

.ticket-value {
    font-weight: 600;
    color: #212529;
    text-align: right;
}

.ticket-divider {
    border-top: 2px dashed #dee2e6;
    margin: 20px -20px;
    position: relative;
}

/* Cutouts for the divider */
.ticket-divider::after,
.ticket-divider::before {
    content: '';
    position: absolute;
    top: -10px;
    width: 20px;
    height: 20px;
    background-color: #f8f9fa;
    /* Needs to match the background behind the card */
    border-radius: 50%;
}

.ticket-divider::before {
    left: -10px;
}

.ticket-divider::after {
    right: -10px;
}

.barcode {
    height: 60px;
    width: 100%;
    background: repeating-linear-gradient(90deg,
            #000,
            #000 2px,
            #fff 2px,
            #fff 4px);
    margin: 10px 0;
    opacity: 0.8;
}