body {
    font-family: Arial, sans-serif;
    background: #f4f6f8;
    margin: 0;
    padding: 0;
    color: #222;
}

.page-center {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-card {
    background: white;
    width: 360px;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.login-card h1 {
    margin-top: 0;
    margin-bottom: 24px;
    text-align: center;
    font-size: 32px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-group input,
.form-group select {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
}

.btn {
    background: #1f6feb;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    cursor: pointer;
    font-size: 15px;
}


.btn:hover {
    background: #1557b0;
}

    /* Category-based button colors */
.btn.btn-category-default {
    background: #1f6feb; 
    color: white;
}
.btn.btn-category-default:hover {
    background: #1557b0;
}

.btn.btn-category-kbar {
    background: #10b981; 
    color: white;
}
.btn.btn-category-kbar:hover {
    background: #059669;
}

.btn-full {
    width: 100%;
}

.topbar {
    background: #111827;
    color: white;
    padding: 14px 20px;
}

.topbar a {
    color: white;
    text-decoration: none;
    margin-right: 12px;
}

.container {
    padding: 24px;
}

.card {
    background: white;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

table th,
table td {
    border: 1px solid #dcdcdc;
    padding: 10px;
    text-align: left;
}

table th {
    background: #f0f3f7;
}

a {
    color: #1f6feb;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}
.report-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.report-title h1 {
    margin: 0 0 6px 0;
    font-size: 32px;
}

.report-title p {
    margin: 0;
    color: #666;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.summary-box {
    background: white;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.summary-box h3 {
    margin: 0 0 10px 0;
    font-size: 16px;
    color: #555;
}

.summary-box .value {
    font-size: 28px;
    font-weight: bold;
    color: #111827;
}

.section-title {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 24px;
}

.actions-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.muted {
    color: #6b7280;
}

.report-table-empty {
    padding: 16px;
    color: #666;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
}

.danger-btn {
    background: #dc2626;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    cursor: pointer;
    font-size: 15px;
}

.danger-btn:hover {
    background: #b91c1c;
}

.items-grid, .items-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); /* Adjusts how many fit per row and increases minimum card width */
    gap: 16px;
}

.item-card, .item-btn {
    min-width: 180px;
    min-height: 200px; /* Increases the height of the box */
    padding: 20px;     /* Gives more breathing room inside the box */
    font-size: 24px;   /* Makes text easier to read */
}

.item-card h3, .item-btn h3, .item-name {
    font-size: 24px;         
    text-transform: uppercase; 
    font-weight: bold;
}
#receipt-section {
    display: none;
}

@media print {
    body * {
        visibility: hidden;
    }
    #receipt-section, #receipt-section * {
        visibility: visible;
    }
    #receipt-section {
        display: block !important;
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .thermal-receipt {
        width: 280px;
        font-weight: bold;
        font-family: 'Courier New', Courier, monospace;
        font-size: 22px;
        line-height: 1.3;
        color: #000;
        padding: 5px;
        transform: scale(0.9);
        transform-origin: top left;
    }

    .receipt-header {
        text-align: center;
        font-weight: bold;
        font-size: 24px;
    }

    .receipt-logo {
        max-width: 300px;
        height: auto;
        display: block;
        margin: 0 auto 5px auto;
        filter: grayscale(100%) contrast(200%);
    }

    }

