@font-face {
    font-family: 'TFL';
    src: url('/public/assets/fonts/LondonTube-MABx.ttf') format('truetype');
}

@font-face {
    font-family: 'Ticketing';
    src: url('/public/assets/fonts/Ticketing.otf') format('opentype');
}

.ticket {
    display: block;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-2deg);
    width: 570px;
    height: 340px;
    z-index: 1000;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.ticket.hidden {
    opacity: 0;
    pointer-events: none;
}

.ticket-outer {
    width: 100%;
    height: 100%;
    background: #fe5f08;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.ticket-inner {
    position: absolute;
    top: 52px;
    bottom: 52px;
    left: 0;
    right: 0;
    background: #e9e0b3;
}

.ticket-content {
    position: relative;
    margin: -10px;
    padding-left: 30px;
    padding-right: 30px;
    z-index: 1;
    color: black;
    opacity: 0;
    font-family: Ticketing, sans-serif;
}

.ticket-header {
    display: flex;
}

.ticket-section {
    margin: 10px;
    font-size: 18px;
}

.ticket-value {
    font-size: 28px;
}

.ticket-title {
    text-align: center;
    font-size: 60px;
}

.ticket-stars {
    text-align: center;
    font-size: 40px;
}

.uol-id {
    position: absolute;
    top: -10px;
    right: 20px;
    font-size: 60px;
}

.print-date {
    position: absolute;
    bottom: 5px;
    right: 20px;
    font-size: 16px;
}

.watermark {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-family: 'TFL', monospace;
    font-size: 7px;
    color: #bdc463;
    z-index: 0;
    line-height: 7px;
    text-align: center;
}

/* Loading message styles */
.loading-message,
.loading-progress {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 2em;
    font-family: sans-serif;
    text-align: center;
    z-index: 1001;
}

.loading-message {
    top: 10%;
}

.loading-progress {
    bottom: 10%;
}
