/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* Full-screen layout matching desktop (no sidebar, maximized content) */
.pos-page[b-hfrjyu8jpx] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.pos-main[b-hfrjyu8jpx] {
    flex: 1;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
}

#blazor-error-ui[b-hfrjyu8jpx] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-hfrjyu8jpx] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-qlyg8o2ld5] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-qlyg8o2ld5] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-qlyg8o2ld5] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-qlyg8o2ld5] {
    font-size: 1.1rem;
}

.bi[b-qlyg8o2ld5] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-qlyg8o2ld5] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-qlyg8o2ld5] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-qlyg8o2ld5] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-qlyg8o2ld5] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-qlyg8o2ld5] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-qlyg8o2ld5] {
        padding-bottom: 1rem;
    }

    .nav-item[b-qlyg8o2ld5]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-qlyg8o2ld5]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-qlyg8o2ld5]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-qlyg8o2ld5] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-qlyg8o2ld5] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-qlyg8o2ld5] {
        display: none;
    }

    .nav-scrollable[b-qlyg8o2ld5] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Pages/TipSelectorPanel.razor.rz.scp.css */
.tsp-root[b-xi2rt4wzf8] {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 24px;
    box-sizing: border-box;
}

.tsp-title[b-xi2rt4wzf8] {
    font-size: clamp(1.6rem, 3vw, 2.6rem);
    font-weight: 700;
    text-align: center;
    margin: 0 0 8px;
}

.tsp-subtotal[b-xi2rt4wzf8] {
    font-size: clamp(1rem, 1.6vw, 1.3rem);
    opacity: 0.8;
    margin: 0 0 20px;
}

.tsp-error[b-xi2rt4wzf8] {
    width: 100%;
    background: #fdecea;
    color: #b3261e;
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 16px;
    text-align: center;
    font-weight: 600;
}

.tsp-options[b-xi2rt4wzf8] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    width: 100%;
}

/* Clover "No Tip" + "Custom" footer row: two equal-width buttons below the presets. */
.tsp-bottom-row[b-xi2rt4wzf8] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    width: 100%;
    margin-top: 16px;
}

.tsp-btn[b-xi2rt4wzf8] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 96px;
    padding: 16px 20px;
    border: 2px solid #d0d5dd;
    border-radius: 16px;
    background: #ffffff;
    color: #101828;
    cursor: pointer;
    transition: transform 0.05s ease, border-color 0.15s ease, background 0.15s ease;
    text-align: center;
}

.tsp-btn:hover:not(:disabled)[b-xi2rt4wzf8] {
    border-color: #2563eb;
    background: #f5f8ff;
}

.tsp-btn:active:not(:disabled)[b-xi2rt4wzf8] {
    transform: scale(0.98);
}

.tsp-btn:disabled[b-xi2rt4wzf8] {
    opacity: 0.55;
    cursor: default;
}

.tsp-btn-label[b-xi2rt4wzf8] {
    font-size: clamp(1.4rem, 2.6vw, 2.1rem);
    font-weight: 800;
    line-height: 1.1;
}

.tsp-btn-sub[b-xi2rt4wzf8] {
    font-size: clamp(0.85rem, 1.4vw, 1.05rem);
    opacity: 0.75;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.tsp-btn-sep[b-xi2rt4wzf8] {
    opacity: 0.5;
}

/* In the Clover layout No Tip + Custom share the same bordered look as the presets. */
.tsp-btn-custom[b-xi2rt4wzf8],
.tsp-btn-none[b-xi2rt4wzf8] {
    min-height: 96px;
}

.tsp-btn-apply[b-xi2rt4wzf8] {
    background: #16a34a;
    color: #ffffff;
    border-color: #16a34a;
    min-height: 72px;
}

.tsp-btn-apply:disabled[b-xi2rt4wzf8] {
    background: #9ad3b0;
    border-color: #9ad3b0;
}

/* ----- Custom amount + number pad ----- */
.tsp-custom[b-xi2rt4wzf8] {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 420px;
}

.tsp-custom-display[b-xi2rt4wzf8] {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 800;
    letter-spacing: 1px;
    padding: 12px 24px;
    border: 2px solid #d0d5dd;
    border-radius: 14px;
    min-width: 260px;
    text-align: center;
    background: #ffffff;
}

.tsp-custom-total[b-xi2rt4wzf8] {
    margin: 10px 0 18px;
    font-size: clamp(1rem, 1.6vw, 1.25rem);
    opacity: 0.8;
}

/* ----- iOS-style numeric keypad (light, used in both themes) ----- */
.tsp-pad[b-xi2rt4wzf8] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    background: #d2d5db;
}

.tsp-pad-btn[b-xi2rt4wzf8] {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 400;
    min-height: 72px;
    border: none;
    border-radius: 8px;
    background: #ffffff;
    color: #1c1c1e;
    cursor: pointer;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.28);
    transition: background 0.08s ease, transform 0.05s ease;
}

.tsp-pad-btn:active:not(:disabled)[b-xi2rt4wzf8] {
    background: #e6e7ea;
    transform: scale(0.97);
}

/* Function keys (Clear / backspace) sit on the slightly darker gray fill like iOS. */
.tsp-pad-clear[b-xi2rt4wzf8],
.tsp-pad-back[b-xi2rt4wzf8] {
    background: #c5c9d1;
    color: #1c1c1e;
    box-shadow: none;
}

.tsp-pad-clear:active:not(:disabled)[b-xi2rt4wzf8],
.tsp-pad-back:active:not(:disabled)[b-xi2rt4wzf8] {
    background: #b6bac3;
}

.tsp-custom-actions[b-xi2rt4wzf8] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: 100%;
    margin-top: 18px;
}

@media (max-width: 520px) {
    .tsp-options[b-xi2rt4wzf8] {
        grid-template-columns: 1fr;
    }
}

/* ===== Dark theme (dual screen) — Clover "Add a Tip" slate look ===== */
.tsp-dark[b-xi2rt4wzf8] {
    max-width: 720px;
    padding: 28px 24px;
    background: #36454f;
    border-radius: 16px;
}

.tsp-dark .tsp-title[b-xi2rt4wzf8] {
    color: #ffffff;
}

.tsp-dark .tsp-subtotal[b-xi2rt4wzf8] {
    color: #aebcc4;
    opacity: 1;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: clamp(0.85rem, 1.4vw, 1.05rem);
}

.tsp-dark .tsp-btn[b-xi2rt4wzf8] {
    background: #3c4a54;
    color: #eef2f4;
    border: 1px solid #5a6b76;
    border-radius: 12px;
}

.tsp-dark .tsp-btn:hover:not(:disabled)[b-xi2rt4wzf8] {
    background: #46555f;
    border-color: #7d8f99;
}

.tsp-dark .tsp-btn:active:not(:disabled)[b-xi2rt4wzf8] {
    background: #51626d;
    transform: scale(0.97);
}

.tsp-dark .tsp-btn-label[b-xi2rt4wzf8] {
    color: #ffffff;
}

.tsp-dark .tsp-btn-sub[b-xi2rt4wzf8] {
    color: #aebcc4;
    opacity: 1;
}

.tsp-dark .tsp-btn-custom[b-xi2rt4wzf8],
.tsp-dark .tsp-btn-none[b-xi2rt4wzf8] {
    background: #3c4a54;
    border-color: #5a6b76;
}

.tsp-dark .tsp-btn-apply[b-xi2rt4wzf8] {
    background: #28a745;
    border-color: #28a745;
    color: #ffffff;
}

.tsp-dark .tsp-btn-apply:disabled[b-xi2rt4wzf8] {
    background: #2a2a4a;
    border-color: #444;
    color: #8a8ca0;
}

.tsp-dark .tsp-custom-display[b-xi2rt4wzf8] {
    background: #1a1a2e;
    color: #ffffff;
    border: 2px solid #444;
}

.tsp-dark .tsp-custom-total[b-xi2rt4wzf8] {
    color: #c7c9d9;
}

/* Keep the keypad on the dual screen identical to the light iOS look (screenshot 2). */
.tsp-dark .tsp-pad[b-xi2rt4wzf8] {
    background: #d2d5db;
}

.tsp-dark .tsp-pad-btn[b-xi2rt4wzf8] {
    background: #ffffff;
    color: #1c1c1e;
    border: none;
    border-radius: 8px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.28);
}

.tsp-dark .tsp-pad-btn:active:not(:disabled)[b-xi2rt4wzf8] {
    background: #e6e7ea;
    transform: scale(0.97);
}

.tsp-dark .tsp-pad-clear[b-xi2rt4wzf8],
.tsp-dark .tsp-pad-back[b-xi2rt4wzf8] {
    background: #c5c9d1;
    color: #1c1c1e;
    box-shadow: none;
}

.tsp-dark .tsp-error[b-xi2rt4wzf8] {
    background: #4a1f1c;
    color: #ffb4ad;
}
