:root {
    --primary-color: #FF6B00;
    /* Orange */
    --secondary-color: #F2F2F2;
    /* Light Gray */
    --text-color: #333333;
    /* Dark Gray */
    --warning-color: #FFC107;
    --danger-color: #DC3545;
    --success-color: #28A745;
}

body {
    font-family: 'Sarabun', sans-serif;
    /* Thai font friendly */
    background-color: var(--secondary-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary:hover {
    background-color: #e65c00;
}

/* Navbar Styles (Shared) */
.navbar {
    background-color: white;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar h1 {
    margin: 0;
    color: var(--primary-color);
    font-size: 24px;
}

/* Print Styles */
/* Print Overlay (Hidden by default) */
#print-overlay {
    display: none;
}

@media print {
    @page {
        size: 3in 3in;
        margin: 0;
    }

    /* Reset Body */
    html,
    body {
        margin: 0 !important;
        padding: 0 !important;
        background: white;
        height: 100%;
        width: 100%;
        overflow: hidden !important;
    }

    /* Hide EVERYTHING in body */
    body>* {
        display: none !important;
    }

    /* Show ONLY the Print Overlay */
    #print-overlay {
        display: flex !important;
        position: fixed;
        top: 0;
        left: 0;
        width: 3in;
        height: 3in;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: white;
        z-index: 999999;
    }

    /* Ensure overlay children are visible */
    #print-overlay * {
        visibility: visible;
        display: block;
    }

    /* Styling adjustments for overlay content */
    #print-text {
        font-size: 32px;
        font-weight: bold;
        color: #000;
        margin-top: 10px;
        text-align: center;
        line-height: 1;
    }
}