/* Till keypad — shared by the Classic and Department layouts.
   Lives here rather than in either panel's <style> block, because a copy in each would drift. */

.pos-keypad {
    flex-shrink: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.pad-btn {
    border-radius: 8px;
    border: 1.5px solid #e0e0e0;
    background: #fff;
    padding: 12px 0;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
    color: #1a1a2e;
}

    .pad-btn:hover {
        border-color: #7c4dff;
        color: #7c4dff;
    }

    /* Clear spans the row: it is the one key a cashier reaches for in a hurry. */
    .pad-btn.pad-clear {
        grid-column: 1 / -1;
    }

.pad-display {
    grid-column: 1 / -1;
    border-radius: 8px;
    background: #1a1a2e;
    color: #fff;
    padding: 10px 14px;
    font-family: monospace;
    font-size: 1.3rem;
    font-weight: 700;
    text-align: right;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pad-hint {
    font-size: .68rem;
    font-weight: 500;
    opacity: .75;
    font-family: inherit;
}

.pad-value {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    white-space: nowrap;
}

/* The count reading, kept secondary: on a till the amount is what usually matters, and it is
   the one carrying the decimal point. */
.pad-count {
    font-size: .78rem;
    font-weight: 600;
    opacity: .6;
}

.pad-sep {
    font-size: .78rem;
    opacity: .35;
}

/* Classic has less height to spare than Department — it still shows a search row, a tile grid
   and the quick-product cards — so its pad is a little tighter. */
.panel-left .pos-keypad .pad-btn {
    padding: 9px 0;
    font-size: 1rem;
}

.panel-left .pos-keypad .pad-display {
    padding: 7px 12px;
    min-height: 38px;
    font-size: 1.15rem;
}
