/* kiosk.css - Exact matching of the user's reference image */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    background-color: #f1f2f6;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

/* Header */
.kiosk-header {
    background-color: #436bb5; /* Matching reference blue */
    color: white;
    display: flex;
    justify-content: space-between;
    padding: 20px 40px;
    height: 120px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-box {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #f44336 50%, #ffeb3b 50%);
    position: relative;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.header-text h1 {
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 1px;
}

.header-text p {
    font-size: 14px;
    color: #e2e8f0;
    margin-top: 2px;
}

.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
}

.date-text {
    font-size: 18px;
    color: #e2e8f0;
}

.time-text {
    font-size: 42px;
    font-weight: 400;
    letter-spacing: 2px;
}

/* Main Body */
.kiosk-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 50px;
}

.main-title {
    font-size: 42px;
    color: #5d6778; /* Muted grey-blue text */
    font-weight: 500;
    margin-bottom: 40px;
    position: relative;
}

/* Subtle underline for the title */
.main-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: -100px;
    right: -100px;
    height: 1px;
    background-color: #d1d5db;
}

/* Button Grid */
.button-grid {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

.kiosk-btn {
    width: 280px;
    height: 250px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: transform 0.1s ease, filter 0.2s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.kiosk-btn:active {
    transform: scale(0.95);
    filter: brightness(0.9);
}

.btn-text {
    color: white;
    font-size: 20px;
    font-weight: 500;
    text-align: center;
    line-height: 1.5;
}

/* Exact Colors Matching the reference blocky design */
.btn-blue {
    background-color: #3b82f6; 
}

.btn-orange {
    background-color: #f97316;
}

/* Footer Marquee */
.kiosk-footer {
    background-color: #436bb5;
    color: white;
    padding: 15px 0;
    font-size: 14px;
    letter-spacing: 1px;
}

/* Modal Receipt (Hidden by default) */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.receipt-card {
    background: white;
    width: 300px;
    padding: 30px 20px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.receipt-title {
    font-size: 20px;
    color: #1e293b;
}

.receipt-sub {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 15px;
}

.receipt-divider {
    border-bottom: 2px dashed #cbd5e1;
    margin: 15px 0;
}

.receipt-type {
    font-size: 14px;
    font-weight: 700;
    color: #475569;
}

.receipt-number {
    font-size: 48px;
    font-weight: 700;
    color: #0f172a;
    margin: 10px 0;
}

.receipt-time {
    font-size: 12px;
    color: #94a3b8;
}

.receipt-footer {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 15px;
}

/* Print Styles for Thermal Printer */
@media print {
    body { background: white; margin: 0; padding: 0; }
    .kiosk-header, .kiosk-main, .kiosk-footer { display: none !important; }
    .modal-overlay {
        position: static;
        background: none;
        display: block !important;
    }
    .receipt-card {
        width: 100%;
        box-shadow: none;
        padding: 0;
        margin: 0;
        animation: none;
    }
    .receipt-title { font-size: 16pt; }
    .receipt-sub { font-size: 10pt; }
    .receipt-type { font-size: 12pt; }
    .receipt-number { font-size: 32pt; }
    .receipt-time, .receipt-footer { font-size: 9pt; }
    @page {
        margin: 0;
        size: 58mm auto;
    }
}
