:root {
    --navy: #1d295b;
    --orange: #ff5722;
    --light-blue: #e8f4fd;
    --border: #dddddd;
    --bg-gray: #f6f6f6;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Tahoma', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-gray);
}

.admin-toolbar {
    background: var(--navy);
    color: white;
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn {
    border: none;
    color: white;
    padding: 12px 24px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.btn-label { background: #444; margin-right: 10px; }
.btn-a4 { background: var(--orange); }

.label-sticker {
    background: var(--white);
    width: 95%;
    max-width: 700px;
    aspect-ratio: 1.6 / 1;
    margin: 40px auto;
    border: 1px dashed #999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.label-content-wrapper {
    width: 100%;
}

.label-id { font-size: 38pt; font-weight: bold; color: #000; line-height: 1; margin: 0; white-space: nowrap; }
.label-co { font-size: 24pt; color: #000; margin: 10px 0; text-transform: uppercase; white-space: nowrap; }
.label-tt { font-size: 18pt; color: #333; margin: 0; white-space: nowrap; }

.a4-container {
    width: 210mm;
    background: var(--white);
    margin: 0 auto 50px auto;
    padding-bottom: 50px;
}

.header-logo { text-align: center; padding: 30px; }
.banner-strip { background-color: var(--light-blue); color: var(--navy); text-align: center; padding: 15px; border-bottom: 3px solid var(--navy); }
.content-padding { padding: 40px; }
.ticket-header { text-align: center; font-size: 24px; color: var(--navy); margin-bottom: 5px;}
.title-sub-header { text-align: center; font-weight: 300; margin-top: 0; margin-bottom: 30px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 30px; background: #fafafa; padding: 20px; border: 1px solid var(--border); }
.section-label { font-size: 12px; font-weight: bold; text-transform: uppercase; color: #666; }
.contact-val { font-size: 15px; }
.divider { border: 0; border-top: 1px solid var(--border); margin: 30px 0; }
.info-box { font-size: 14px; padding: 15px; border: 1px solid var(--border); background: #f9f9f9; border-radius: 4px; white-space: pre-wrap; margin-bottom: 20px;}
.info-box.highlight { border-left: 5px solid var(--orange); }
.footer-meta { font-size: 11px; color: #aaa; text-align: right; }

@media print {
    .no-print, .label-sticker, .a4-container { display: none !important; }

    body { background: white !important; }

    body.mode-label .label-sticker {
        display: flex !important;
        border: none !important;
        width: 100vw !important;
        height: 100vh !important;
        position: fixed;
        top: 0;
        left: 0;
        margin: 0 !important;
        padding: 0 !important;
        align-items: center;
        justify-content: center;
    }

    body.mode-label .label-content-wrapper {
        width: 100vw; 
        max-width: 100%;
        text-align: left;
        margin: 0 auto;
    }

    body.mode-label .label-id { 
        font-size: 80pt; 
        line-height: 1; 
        white-space: nowrap;
        margin: 0;
        padding: 0;
    }
    
    body.mode-label .label-co { 
        font-size: 65pt; 
        line-height: 1.1; 
        margin: 0;
        padding: 0;
        white-space: nowrap;
    }
    
    body.mode-label .label-tt { 
        font-size: 40pt; 
        line-height: 1.2; 
        white-space: nowrap;
        margin: 0;
        padding: 0;
    }

    body.mode-a4 .a4-container {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        box-shadow: none !important;
    }
}