/* ─── Simple (tablet) view ────────────────────────────────────────────────
   Full-screen, touch-friendly κέλυφος & φόρμες. Ενεργό μόνο στα /tablet/*
   routes (μέσω TabletLayout). Δεν επηρεάζει την κανονική desktop προβολή. */

.tablet-shell {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    background: #eef2f7;
}

.tablet-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .6rem 1rem;
    background: #052767;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
}

.tablet-topbar .tablet-brand {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.tablet-topbar .tablet-brand img {
    border-radius: 4px;
}

.tablet-topbar .tablet-company {
    color: #9ec7ff;
    font-weight: 500;
}

.tablet-main {
    flex: 1;
    padding: 1rem;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

/* ─── Home tiles ─── */
.tablet-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin-top: .5rem;
}

.tablet-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    text-align: center;
    text-decoration: none;
    padding: 2rem 1rem;
    min-height: 190px;
    background: #fff;
    color: #052767;
    border: 1px solid #d6dee9;
    border-radius: 14px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .06);
    transition: transform .1s, box-shadow .1s, background .1s;
}

.tablet-tile:hover,
.tablet-tile:focus {
    background: #f4f8ff;
    color: #052767;
    box-shadow: 0 6px 14px rgba(5, 39, 103, .18);
    transform: translateY(-2px);
}

.tablet-tile:active {
    transform: translateY(0);
}

.tablet-tile .bi {
    font-size: 3rem;
    line-height: 1;
    color: #0a7d34;
}

.tablet-tile .tablet-tile-title {
    font-size: 1.15rem;
    font-weight: 600;
}

.tablet-tile .tablet-tile-sub {
    font-size: .85rem;
    color: #6b7a90;
}

/* ─── Forms ─── */
.tablet-form {
    max-width: 640px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #d6dee9;
    border-radius: 14px;
    padding: 1.25rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .06);
}

.tablet-form h1 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.tablet-field {
    margin-bottom: 1rem;
}

.tablet-field > label {
    display: block;
    font-weight: 600;
    font-size: .95rem;
    margin-bottom: .3rem;
    color: #334;
}

/* Μεγάλα, touch-friendly controls */
.tablet-form .form-control,
.tablet-form .form-select {
    font-size: 1.15rem;
    padding: .7rem .9rem;
    min-height: 3rem;
}

.tablet-form .form-check-input {
    width: 1.6rem;
    height: 1.6rem;
    margin-top: 0;
}

.tablet-form .form-check {
    display: flex;
    align-items: center;
    gap: .6rem;
    min-height: 3rem;
}

.tablet-form .form-check-label {
    font-size: 1.05rem;
}

.tablet-back {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    text-decoration: none;
    font-size: 1rem;
    margin-bottom: .75rem;
    color: #052767;
}

.tablet-pick-btn {
    display: block;
    width: 100%;
    text-align: left;
    font-size: 1.1rem;
    padding: 1rem 1.1rem;
    margin-bottom: .6rem;
    border-radius: 12px;
}

/* ─── Τμήμα Ταμειακής (κατηγορίες + edit μόνο TAMEIAKIDEP) ─── */
.tablet-cat-list {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    max-height: 60vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.tablet-cat-row {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .5rem .6rem;
    border: 1px solid #e2e8f1;
    border-radius: 10px;
    background: #fbfcfe;
}

.tablet-cat-info {
    display: flex;
    align-items: center;
    gap: .6rem;
    flex: 1;
    min-width: 0;
}

.tablet-cat-code {
    font-size: .9rem;
    flex-shrink: 0;
}

.tablet-cat-descr {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 1.05rem;
}

.tablet-form .form-control.tablet-cat-dep {
    width: 6.5rem;
    flex-shrink: 0;
    text-align: center;
    font-variant-numeric: tabular-nums;
}
