.ticket-card {
    /* width: 750px; */
    background: linear-gradient(145deg, #151a3a, #0e122b);
    border: 2px solid #2e356d;
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(0, 100, 255, 0.2);
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
}

.ticket-type{
    position: absolute;
    top: 0;
    right: 0;
    padding: 3px 10px;
    font-size: 12px;
    border-radius: 0 0 0 10px;
    font-weight: bold;
}

.ticket-banner {
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, #2431a1, #5371f7);
    padding: 15px 25px;
    position: relative;
    background-size: cover;
    background-position: center;
    overflow: hidden; /* Important to clip blur edges */
}

/* Blurred background layer */
.ticket-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: inherit; /* copy the same gradient or image */
    filter: blur(10px);
    transform: scale(1.1); /* avoid edge cropping from blur */
    z-index: 0;
    opacity: 0.8;
}

/* Keep the focus content above blur */
.ticket-banner > * {
    position: relative;
    z-index: 1;
}

.ticket-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: linear-gradient(90deg, #f7d600, #ff9800);
}

.ticket-logo {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: white;
    object-fit: contain;
    margin-right: 20px;
}

.ticket-company h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
}

.ticket-company p {
    margin: 0;
    font-size: 12px;
    opacity: 0.8;
    letter-spacing: 1px;
}

.ticket-body {
    display: flex;
    justify-content: space-between;
    padding: 20px 30px;
    border-top: 1px dashed rgba(255, 255, 255, 0.2);
}

.ticket-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px 30px;
}

.ticket-section label {
    font-size: 11px;
    letter-spacing: 1px;
    color: #8ca0ff;
}

.ticket-section p {
    font-size: 15px;
    font-weight: 600;
    margin: 2px 0 0;
    color: white;
}

.ticket-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-left: 1px dashed rgba(255, 255, 255, 0.2);
    padding-left: 25px;
}

.ticket-barcode {
    width: 100px;
    height: 50px;
    background: repeating-linear-gradient(
        90deg,
        #fff,
        #fff 2px,
        transparent 2px,
        transparent 4px
    );
    border-radius: 4px;
    margin-bottom: 10px;
}

.ticket-id {
    font-size: 12px;
    color: #aaa;
    letter-spacing: 1px;
}