﻿html,
body {
    min-height: 100%;
}

    body.zona-body {
        margin: 0;
        font-family: "Segoe UI", Arial, sans-serif;
        background: #f3f6fb;
        color: #172033;
    }

/* TOPBAR */
.zona-topbar {
    height: 76px;
    background: #ffffff;
    border-bottom: 1px solid #e5eaf1;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
    display: flex;
    align-items: center;
    position: relative;
    z-index: 10;
}

.zona-topbar-inner {
    width: 100%;
    padding: 0 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.zona-brand {
    display: flex;
    align-items: center;
    text-decoration: none !important;
}

.zona-brand-logo {
    width: 82px;
    height: 46px;
    object-fit: contain;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e5eaf1;
    padding: 4px;
    margin-right: 14px;
}

.zona-brand-name {
    font-size: 21px;
    font-weight: 800;
    color: #102a4c;
    letter-spacing: .4px;
    line-height: 1;
}

.zona-brand-subtitle {
    margin-top: 4px;
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
}

.zona-topbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-size: 14px;
    font-weight: 600;
}

.zona-status-dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, .12);
}

/* APP WRAPPER */
.zona-app {
    min-height: calc(100vh - 76px);
}

/* LOGIN PAGE */
.zona-login-page {
    min-height: calc(100vh - 76px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.08), transparent 34%), radial-gradient(circle at bottom right, rgba(34, 197, 94, 0.08), transparent 30%), #f3f6fb;
}

.zona-login-panel {
    width: 100%;
    max-width: 1040px;
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    background: #ffffff;
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid #e6ebf2;
    box-shadow: 0 22px 62px rgba(15, 23, 42, 0.11);
}

/* LEFT SIDE */
.zona-login-info {
    background: linear-gradient(145deg, #102a4c 0%, #183f72 58%, #2563eb 100%);
    color: #ffffff;
    padding: 58px 58px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 510px;
}

.zona-login-kicker {
    width: fit-content;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.11);
    border: 1px solid rgba(255,255,255,0.16);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 22px;
}

.zona-login-headline {
    font-size: 40px;
    line-height: 1.1;
    font-weight: 850;
    margin: 0 0 18px 0;
    letter-spacing: -1px;
}

.zona-login-description {
    max-width: 470px;
    font-size: 16px;
    line-height: 1.68;
    color: rgba(255,255,255,.84);
    margin-bottom: 30px;
}

.zona-feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    max-width: 520px;
}

.zona-feature {
    padding: 15px;
    border-radius: 16px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
}

.zona-feature-title {
    font-weight: 800;
    font-size: 14px;
    margin-bottom: 5px;
}

.zona-feature-text {
    font-size: 13px;
    color: rgba(255,255,255,.74);
    line-height: 1.45;
}

/* RIGHT SIDE */
.zona-login-form-area {
    padding: 48px 54px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zona-login-form-card {
    width: 100%;
    max-width: 390px;
}

.zona-login-logo-area {
    text-align: center;
    margin-bottom: 24px;
}

.zona-login-logo {
    width: 165px;
    max-width: 82%;
    object-fit: contain;
    background: #ffffff;
    border: 1px solid #e6ebf2;
    border-radius: 18px;
    padding: 8px;
}

.zona-form-title {
    font-size: 28px;
    font-weight: 850;
    color: #0f172a;
    margin: 0;
    text-align: center;
}

.zona-form-subtitle {
    margin-top: 9px;
    margin-bottom: 28px;
    font-size: 14px;
    color: #64748b;
    text-align: center;
}

.zona-form-group {
    margin-bottom: 18px;
}

.zona-label {
    display: block;
    margin-bottom: 8px;
    color: #334155;
    font-weight: 700;
    font-size: 14px;
}

.zona-input {
    width: 100%;
    height: 50px;
    border-radius: 13px;
    border: 1px solid #d8e0ea;
    background: #ffffff;
    padding: 10px 14px;
    font-size: 15px;
    color: #0f172a;
    transition: all .18s ease;
    box-sizing: border-box;
}

    .zona-input:focus {
        outline: none;
        border-color: #2563eb;
        box-shadow: 0 0 0 4px rgba(37, 99, 235, .10);
    }

.zona-btn {
    width: 100%;
    height: 51px;
    border: none;
    border-radius: 13px;
    background: #2563eb;
    color: #ffffff;
    font-weight: 800;
    font-size: 15px;
    margin-top: 4px;
    box-shadow: 0 12px 24px rgba(37, 99, 235, .23);
    transition: all .18s ease;
}

    .zona-btn:hover {
        background: #1d4ed8;
        transform: translateY(-1px);
    }

.zona-alert {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 18px;
    font-weight: 700;
    font-size: 14px;
}

.zona-login-note {
    margin-top: 22px;
    text-align: center;
    color: #94a3b8;
    font-size: 12px;
}

/* Chrome/Edge autofill fix */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
    -webkit-text-fill-color: #0f172a !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* GENERIC SYSTEM CARDS */
.zona-system-card {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    border: 1px solid #e9eef5;
    padding: 24px;
}

.zona-page-title {
    font-weight: 850;
    color: #0f172a;
    margin-bottom: 18px;
}

/* RESPONSIVE */
@media (max-width: 980px) {
    .zona-login-panel {
        grid-template-columns: 1fr;
        max-width: 560px;
    }

    .zona-login-info {
        min-height: auto;
        padding: 42px 34px;
    }

    .zona-login-headline {
        font-size: 32px;
    }

    .zona-feature-grid {
        grid-template-columns: 1fr;
    }

    .zona-login-form-area {
        padding: 40px 34px;
    }
}

@media (max-width: 640px) {
    .zona-topbar-inner {
        padding: 0 18px;
    }

    .zona-topbar-actions {
        display: none;
    }

    .zona-brand-logo {
        width: 68px;
        height: 40px;
    }

    .zona-brand-name {
        font-size: 18px;
    }

    .zona-login-page {
        padding: 18px;
        align-items: flex-start;
    }

    .zona-login-panel {
        border-radius: 22px;
    }

    .zona-login-info {
        padding: 34px 26px;
    }

    .zona-login-headline {
        font-size: 29px;
    }

    .zona-login-form-area {
        padding: 34px 26px;
    }

    .zona-login-logo {
        width: 150px;
    }
}

/* ADMIN PANEL */
.zona-admin-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.zona-admin-card {
    display: flex;
    align-items: center;
    gap: 18px;
    background: #ffffff;
    border: 1px solid #e6ebf2;
    border-radius: 22px;
    padding: 24px;
    text-decoration: none !important;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
    transition: all .18s ease;
}

    .zona-admin-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 22px 50px rgba(15, 23, 42, 0.12);
        border-color: #cbd8ea;
    }

.zona-admin-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: linear-gradient(145deg, #102a4c 0%, #2563eb 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 850;
    font-size: 22px;
    flex-shrink: 0;
}

.zona-admin-card h3 {
    margin: 0;
    color: #0f172a;
    font-size: 20px;
    font-weight: 850;
}

.zona-admin-card p {
    margin: 6px 0 0 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.45;
}

@media (max-width: 980px) {
    .zona-admin-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .zona-admin-grid {
        grid-template-columns: 1fr;
    }
}

/* PAGE STRUCTURE */
.zona-page-wrap {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 42px 22px;
}

.zona-page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 28px;
}

.zona-page-kicker {
    color: #2563eb;
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 8px;
}

.zona-page-title {
    font-size: 34px;
    line-height: 1.1;
    font-weight: 850;
    color: #0f172a;
    margin: 0;
}

.zona-page-description {
    margin-top: 10px;
    color: #64748b;
    font-size: 15px;
    max-width: 620px;
}

.zona-branch-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.zona-branch-card {
    background: #ffffff;
    border: 1px solid #e6ebf2;
    border-radius: 22px;
    padding: 26px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
    transition: all .18s ease;
}

    .zona-branch-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 22px 50px rgba(15, 23, 42, 0.12);
        border-color: #cbd8ea;
    }

.zona-branch-top {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.zona-branch-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: linear-gradient(145deg, #102a4c 0%, #2563eb 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 850;
    font-size: 22px;
}

.zona-branch-title {
    margin: 0;
    color: #0f172a;
    font-size: 22px;
    font-weight: 850;
}

.zona-branch-company {
    margin-top: 4px;
    color: #64748b;
    font-weight: 600;
    font-size: 14px;
}

.zona-branch-address {
    min-height: 44px;
    color: #475569;
    font-size: 14px;
    margin-bottom: 22px;
    line-height: 1.5;
}

.zona-branch-btn {
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 13px;
    background: #2563eb;
    color: #ffffff;
    font-weight: 800;
    font-size: 14px;
    box-shadow: 0 10px 22px rgba(37, 99, 235, .20);
    transition: all .18s ease;
}

    .zona-branch-btn:hover {
        background: #1d4ed8;
        transform: translateY(-1px);
    }

.zona-empty-state {
    background: #ffffff;
    border: 1px dashed #cbd5e1;
    border-radius: 18px;
    padding: 26px;
    color: #64748b;
    text-align: center;
    font-weight: 700;
}

@media (max-width: 760px) {
    .zona-page-wrap {
        padding: 28px 16px;
    }

    .zona-page-title {
        font-size: 28px;
    }

    .zona-branch-grid {
        grid-template-columns: 1fr;
    }
}

/* TOPBAR NAVIGATION */
.zona-nav-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.zona-nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    color: #334155;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all .18s ease;
}

    .zona-nav-link:hover {
        color: #ffffff;
        background: #2563eb;
        border-color: #2563eb;
    }

.zona-nav-danger {
    color: #b91c1c;
    background: #fef2f2;
    border-color: #fecaca;
}

    .zona-nav-danger:hover {
        color: #ffffff;
        background: #dc2626;
        border-color: #dc2626;
    }

@media (max-width: 760px) {
    .zona-topbar {
        height: auto;
        min-height: 76px;
    }

    .zona-topbar-inner {
        flex-wrap: wrap;
        gap: 12px;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .zona-nav-links {
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .zona-nav-link {
        white-space: nowrap;
    }
}

.zona-form-panel {
    max-width: 480px;
}

.zona-info-row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 0;
    border-bottom: 1px solid #e6ebf2;
}

    .zona-info-row span {
        color: #64748b;
        font-weight: 600;
    }

    .zona-info-row strong {
        color: #0f172a;
        font-weight: 850;
    }

.zona-btn-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 50px;
    border-radius: 13px;
    background: #2563eb;
    color: #ffffff !important;
    font-weight: 800;
    text-decoration: none !important;
    box-shadow: 0 12px 24px rgba(37, 99, 235, .23);
}

    .zona-btn-link:hover {
        background: #1d4ed8;
    }

.zona-action-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 24px;
}

.zona-btn-secondary {
    background: #ffffff !important;
    color: #2563eb !important;
    border: 1px solid #bfdbfe;
    box-shadow: none;
}

    .zona-btn-secondary:hover {
        background: #eff6ff !important;
    }

.zona-success-message {
    max-width: 680px;
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
    border-radius: 14px;
    padding: 14px 16px;
    font-weight: 700;
    margin-bottom: 20px;
}

/* POS */
.pos-page {
    width: 100%;
    max-width: 1480px;
    margin: 0 auto;
    padding: 24px;
}

.pos-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 22px;
    gap: 18px;
}

.pos-title {
    margin: 0;
    color: #0f172a;
    font-size: 34px;
    font-weight: 850;
}

.pos-subtitle {
    margin-top: 8px;
    color: #64748b;
    font-size: 15px;
}

.pos-header-actions {
    display: flex;
    gap: 10px;
}

.pos-small-btn {
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #dbe3ef;
    color: #334155 !important;
    text-decoration: none !important;
    font-weight: 800;
    font-size: 13px;
}

.pos-layout {
    display: grid;
    grid-template-columns: 190px 1fr 390px;
    gap: 18px;
    align-items: start;
}

.pos-categories,
.pos-order {
    background: #ffffff;
    border: 1px solid #e6ebf2;
    border-radius: 22px;
    padding: 16px;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.07);
}

.pos-categories {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: sticky;
    top: 96px;
}

.pos-category {
    border: none;
    background: #f8fafc;
    color: #334155;
    border-radius: 14px;
    padding: 13px 14px;
    text-align: left;
    font-weight: 800;
    transition: all .18s ease;
}

    .pos-category:hover,
    .pos-category.active {
        background: #2563eb;
        color: #ffffff;
    }

.pos-products {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.pos-product {
    text-align: left;
    border: 1px solid #e6ebf2;
    background: #ffffff;
    border-radius: 22px;
    padding: 18px;
    min-height: 165px;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.07);
    transition: all .18s ease;
}

    .pos-product:hover {
        transform: translateY(-3px);
        box-shadow: 0 20px 48px rgba(15, 23, 42, 0.12);
        border-color: #cbd8ea;
    }

.pos-product-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.pos-product-code {
    color: #94a3b8;
    font-size: 12px;
    font-weight: 800;
}

.pos-product-badge {
    background: #fef3c7;
    color: #92400e;
    border-radius: 999px;
    padding: 4px 9px;
    font-size: 11px;
    font-weight: 800;
}

    .pos-product-badge.normal {
        background: #e0f2fe;
        color: #075985;
    }

.pos-product-name {
    color: #0f172a;
    font-size: 18px;
    font-weight: 850;
    margin-bottom: 6px;
}

.pos-product-desc {
    color: #64748b;
    font-size: 13px;
    line-height: 1.4;
    min-height: 36px;
}

.pos-product-price {
    margin-top: 14px;
    color: #2563eb;
    font-size: 20px;
    font-weight: 850;
}

.pos-order {
    position: sticky;
    top: 96px;
    background: linear-gradient(145deg, #102a4c 0%, #183f72 58%, #2563eb 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 18px 46px rgba(16, 42, 76, 0.22);
}

.pos-order-header h2 {
    color: #ffffff;
}

.pos-order-header span {
    color: rgba(255,255,255,0.72);
}

.pos-client-box label {
    color: rgba(255,255,255,0.86);
}

.pos-order .pos-input {
    background: rgba(255,255,255,0.96);
    border-color: rgba(255,255,255,0.45);
    color: #0f172a;
}

.pos-order .pos-clear-btn {
    background: rgba(255,255,255,0.13);
    color: #ffffff;
}

    .pos-order .pos-clear-btn:hover {
        background: rgba(255,255,255,0.22);
    }

.pos-order-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

    .pos-order-header h2 {
        margin: 0;
        font-size: 22px;
        font-weight: 850;
        color: #0f172a;
    }

    .pos-order-header span {
        color: #64748b;
        font-size: 13px;
        font-weight: 700;
    }

.pos-clear-btn {
    border: none;
    background: #fef2f2;
    color: #b91c1c;
    border-radius: 999px;
    padding: 8px 12px;
    font-weight: 800;
    font-size: 12px;
}

.pos-client-box {
    display: grid;
    gap: 8px;
    margin-bottom: 14px;
}

    .pos-client-box label,
    .pos-modal label {
        color: #334155;
        font-size: 13px;
        font-weight: 800;
    }

.pos-input {
    width: 100%;
    height: 44px;
    border-radius: 12px;
    border: 1px solid #d8e0ea;
    background: #ffffff;
    padding: 9px 12px;
    font-size: 14px;
    box-sizing: border-box;
}

    .pos-input:focus {
        outline: none;
        border-color: #2563eb;
        box-shadow: 0 0 0 4px rgba(37, 99, 235, .10);
    }

.pos-order-lines {
    max-height: 330px;
    overflow-y: auto;
    padding-right: 4px;
}

.pos-empty-order {
    color: #94a3b8;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
    padding: 16px;
    text-align: center;
    font-weight: 700;
    font-size: 13px;
}

.pos-order-line,
.pos-payment-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-bottom: 1px solid #eef2f7;
    padding: 12px 0;
}

    .pos-order-line strong,
    .pos-payment-line strong {
        display: block;
        color: #0f172a;
        font-size: 14px;
    }

    .pos-order-line span,
    .pos-payment-line span {
        color: #64748b;
        font-size: 12px;
        font-weight: 700;
    }

.pos-line-actions {
    display: flex;
    gap: 6px;
}

    .pos-line-actions button,
    .pos-payment-line button {
        width: 28px;
        height: 28px;
        border: none;
        border-radius: 8px;
        background: #f1f5f9;
        color: #334155;
        font-weight: 900;
    }

.pos-totals {
    border-top: 1px solid #e6ebf2;
    margin-top: 14px;
    padding-top: 14px;
}

    .pos-totals div,
    .pos-payment-totals div {
        display: flex;
        justify-content: space-between;
        padding: 7px 0;
        color: #475569;
        font-weight: 700;
    }

    .pos-totals .total {
        color: #0f172a;
        font-size: 20px;
    }

        .pos-totals .total strong {
            color: #2563eb;
        }

.pos-pay-btn,
.pos-final-btn,
.pos-add-payment-btn {
    width: 100%;
    height: 50px;
    border: none;
    border-radius: 14px;
    background: #2563eb;
    color: #ffffff;
    font-size: 15px;
    font-weight: 850;
    margin-top: 16px;
    box-shadow: 0 12px 24px rgba(37, 99, 235, .22);
}

.pos-add-payment-btn {
    background: #0f172a;
}

/* PAYMENT MODAL */
.pos-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, .48);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.pos-modal {
    width: 100%;
    max-width: 680px;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .28);
    padding: 26px;
}

.pos-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 22px;
}

    .pos-modal-header h2 {
        margin: 0;
        color: #0f172a;
        font-weight: 850;
    }

    .pos-modal-header span {
        color: #2563eb;
        font-weight: 850;
    }

.pos-modal-close {
    border: none;
    background: #f1f5f9;
    color: #334155;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    font-size: 24px;
    line-height: 1;
}

.pos-payment-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.pos-payment-summary {
    margin-top: 18px;
}

    .pos-payment-summary h3 {
        font-size: 16px;
        font-weight: 850;
        color: #0f172a;
        margin-bottom: 10px;
    }

.pos-payment-totals {
    border-top: 1px solid #e6ebf2;
    margin-top: 16px;
    padding-top: 12px;
}

@media (max-width: 1180px) {
    .pos-layout {
        grid-template-columns: 160px 1fr;
    }

    .pos-order {
        grid-column: 1 / -1;
        position: static;
    }
}

@media (max-width: 820px) {
    .pos-page {
        padding: 16px;
    }

    .pos-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .pos-layout {
        grid-template-columns: 1fr;
    }

    .pos-categories {
        position: static;
        flex-direction: row;
        overflow-x: auto;
    }

    .pos-category {
        white-space: nowrap;
    }

    .pos-products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pos-payment-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .pos-products {
        grid-template-columns: 1fr;
    }
}

/* ORDER PANEL BLUE STYLE */
.pos-empty-order-blue {
    background: rgba(255,255,255,0.10);
    border: 1px dashed rgba(255,255,255,0.30);
    color: rgba(255,255,255,0.78);
}

.pos-order-line-blue {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.14);
}

.pos-order-line-info {
    min-width: 0;
}

.pos-order-product-name {
    color: #ffffff;
    font-size: 15px;
    font-weight: 850;
    line-height: 1.25;
}

.pos-order-product-meta {
    color: rgba(255,255,255,0.70);
    font-size: 12px;
    font-weight: 700;
    margin-top: 4px;
}

.pos-order-line-right {
    text-align: right;
    flex-shrink: 0;
}

.pos-order-line-total {
    color: #ffffff;
    font-weight: 900;
    font-size: 14px;
    margin-bottom: 7px;
}

.pos-line-actions-blue {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
}

    .pos-line-actions-blue button {
        width: 28px;
        height: 28px;
        border: none;
        border-radius: 9px;
        background: rgba(255,255,255,0.16);
        color: #ffffff;
        font-weight: 900;
    }

        .pos-line-actions-blue button:hover {
            background: rgba(255,255,255,0.28);
        }

.pos-order .pos-totals {
    border-top: 1px solid rgba(255,255,255,0.18);
}

    .pos-order .pos-totals div {
        color: rgba(255,255,255,0.78);
    }

    .pos-order .pos-totals strong {
        color: #ffffff;
    }

    .pos-order .pos-totals .total {
        color: #ffffff;
    }

        .pos-order .pos-totals .total strong {
            color: #ffffff;
            font-size: 24px;
        }

.pos-order .pos-pay-btn {
    background: #ffffff;
    color: #102a4c;
    box-shadow: 0 14px 30px rgba(0,0,0,0.18);
}

    .pos-order .pos-pay-btn:hover {
        background: #f8fafc;
    }

/* POS VISUAL POLISH */
.pos-order {
    background: linear-gradient(155deg, #0f2a4f 0%, #16477e 52%, #2563eb 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255,255,255,0.14) !important;
    box-shadow: 0 24px 70px rgba(15, 42, 79, 0.30) !important;
}

.pos-order-header h2 {
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.18);
}

.pos-order-header span {
    color: rgba(255,255,255,0.72) !important;
}

.pos-client-box label {
    color: rgba(255,255,255,0.82) !important;
}

.pos-order .pos-input {
    background: #ffffff !important;
    color: #0f172a !important;
    border: 1px solid rgba(255,255,255,0.45) !important;
}

.pos-order .pos-clear-btn {
    background: rgba(255,255,255,0.16) !important;
    color: #ffffff !important;
}

    .pos-order .pos-clear-btn:hover {
        background: rgba(255,255,255,0.26) !important;
    }

.pos-order .pos-totals {
    border-top: 1px solid rgba(255,255,255,0.18) !important;
}

    .pos-order .pos-totals div {
        color: rgba(255,255,255,0.78) !important;
    }

    .pos-order .pos-totals strong {
        color: #ffffff !important;
    }

    .pos-order .pos-totals .total {
        color: #ffffff !important;
    }

        .pos-order .pos-totals .total strong {
            color: #ffffff !important;
            font-size: 26px;
            text-shadow: 0 2px 4px rgba(0,0,0,0.18);
        }

.pos-order .pos-pay-btn {
    background: #ffffff !important;
    color: #102a4c !important;
    box-shadow: 0 16px 34px rgba(0,0,0,0.22) !important;
}

    .pos-order .pos-pay-btn:hover {
        background: #f8fafc !important;
        transform: translateY(-1px);
    }

/* Product/category cards more dynamic */
.pos-product {
    border: 1px solid rgba(226, 232, 240, 0.95) !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07), 0 1px 0 rgba(255,255,255,0.75) inset !important;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%) !important;
}

    .pos-product:hover {
        transform: translateY(-5px) scale(1.01) !important;
        box-shadow: 0 24px 55px rgba(15, 23, 42, 0.14), 0 0 0 1px rgba(37, 99, 235, 0.12) !important;
        border-color: rgba(37, 99, 235, 0.28) !important;
    }

.pos-product-price {
    color: #2563eb !important;
    text-shadow: 0 8px 18px rgba(37,99,235,0.12);
}

.pos-categories {
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08), 0 1px 0 rgba(255,255,255,0.8) inset !important;
}

.pos-category {
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.04);
}

    .pos-category:hover,
    .pos-category.active {
        box-shadow: 0 12px 24px rgba(37, 99, 235, 0.24);
        transform: translateY(-1px);
    }

/* Order lines stronger contrast */
.pos-order-line-blue {
    background: rgba(255,255,255,0.055);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 12px 12px !important;
    margin-bottom: 10px;
}

.pos-order-product-name {
    color: #ffffff !important;
}

.pos-order-product-meta {
    color: rgba(255,255,255,0.72) !important;
}

.pos-order-line-total {
    color: #ffffff !important;
}

.pos-line-actions-blue button {
    background: rgba(255,255,255,0.18) !important;
    color: #ffffff !important;
}

    .pos-line-actions-blue button:hover {
        background: rgba(255,255,255,0.32) !important;
    }

.zona-page-wide {
    max-width: 1320px;
}

.zona-btn-mini {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    background: #2563eb;
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 850;
    box-shadow: 0 10px 22px rgba(37, 99, 235, .20);
}

.zona-btn-mini-light {
    background: #ffffff;
    color: #2563eb !important;
    border: 1px solid #bfdbfe;
    box-shadow: none;
}

.zona-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.zona-table {
    width: 100%;
    border-collapse: collapse;
}

    .zona-table thead th {
        background: #f8fafc;
        color: #475569;
        font-size: 13px;
        font-weight: 850;
        padding: 14px 12px;
        border-bottom: 1px solid #e2e8f0;
    }

    .zona-table tbody td {
        padding: 14px 12px;
        border-bottom: 1px solid #edf2f7;
        color: #334155;
        font-size: 14px;
    }

    .zona-table tbody tr:hover {
        background: #f8fafc;
    }

.zona-table-sub {
    color: #94a3b8;
    font-size: 12px;
    margin-top: 3px;
}

.text-right {
    text-align: right;
}

.zona-status-badge {
    display: inline-flex;
    align-items: center;
    height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #047857;
    font-size: 12px;
    font-weight: 850;
}

.zona-action-link {
    color: #2563eb !important;
    font-weight: 850;
    text-decoration: none !important;
}

.zona-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.zona-card-title {
    margin: 0 0 16px 0;
    color: #0f172a;
    font-size: 20px;
    font-weight: 850;
}

.total-row strong {
    color: #2563eb;
    font-size: 22px;
}

.zona-payment-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #edf2f7;
}

    .zona-payment-card strong {
        display: block;
        color: #0f172a;
        font-weight: 850;
    }

    .zona-payment-card span {
        display: block;
        color: #64748b;
        font-size: 13px;
        margin-top: 3px;
    }

@media (max-width: 800px) {
    .zona-detail-grid {
        grid-template-columns: 1fr;
    }
}

.zona-textarea {
    min-height: 110px;
    resize: vertical;
    padding-top: 12px;
}

.zona-btn-danger-main {
    width: 100%;
    height: 50px;
    border: none;
    border-radius: 13px;
    background: #dc2626;
    color: #ffffff;
    font-weight: 850;
    font-size: 15px;
    box-shadow: 0 12px 24px rgba(220, 38, 38, .22);
    transition: all .18s ease;
}

    .zona-btn-danger-main:hover {
        background: #b91c1c;
        transform: translateY(-1px);
    }

.zona-btn-mini-danger {
    background: #dc2626 !important;
    color: #ffffff !important;
    box-shadow: 0 10px 22px rgba(220, 38, 38, .20);
}

/* ADMIN DASHBOARD PRO */
.admin-hero {
    background: linear-gradient(145deg, #102a4c 0%, #183f72 55%, #2563eb 100%);
    color: #ffffff;
    border-radius: 28px;
    padding: 38px 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
    box-shadow: 0 24px 70px rgba(15, 42, 79, 0.22);
}

    .admin-hero h1 {
        margin: 0;
        font-size: 38px;
        font-weight: 900;
        letter-spacing: -1px;
    }

    .admin-hero p {
        margin: 10px 0 0 0;
        max-width: 640px;
        color: rgba(255,255,255,0.82);
        font-size: 15px;
        line-height: 1.6;
    }

    .admin-hero .zona-page-kicker {
        color: rgba(255,255,255,0.75);
    }

.admin-hero-badge {
    min-width: 170px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.18);
    font-size: 24px;
    font-weight: 900;
    text-align: center;
}

    .admin-hero-badge span {
        display: block;
        margin-top: 5px;
        font-size: 12px;
        color: rgba(255,255,255,0.76);
        font-weight: 700;
    }

.admin-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 24px;
}

.admin-kpi-card {
    background: #ffffff;
    border: 1px solid #e6ebf2;
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
}

    .admin-kpi-card span {
        display: block;
        color: #64748b;
        font-size: 13px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: .05em;
    }

    .admin-kpi-card strong {
        display: block;
        margin-top: 8px;
        color: #0f172a;
        font-size: 28px;
        font-weight: 900;
    }

    .admin-kpi-card small {
        display: block;
        margin-top: 6px;
        color: #94a3b8;
        font-weight: 700;
    }

.admin-module-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.admin-module-card {
    position: relative;
    overflow: hidden;
    display: flex;
    gap: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    border: 1px solid #e6ebf2;
    border-radius: 24px;
    padding: 24px;
    min-height: 150px;
    text-decoration: none !important;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08), 0 1px 0 rgba(255,255,255,0.8) inset;
    transition: all .18s ease;
}

    .admin-module-card:before {
        content: "";
        position: absolute;
        top: -45px;
        right: -45px;
        width: 110px;
        height: 110px;
        border-radius: 999px;
        background: rgba(37, 99, 235, 0.08);
    }

    .admin-module-card:hover {
        transform: translateY(-5px);
        border-color: rgba(37, 99, 235, 0.28);
        box-shadow: 0 26px 60px rgba(15, 23, 42, 0.14), 0 0 0 1px rgba(37, 99, 235, 0.08);
    }

.admin-module-icon {
    width: 62px;
    height: 62px;
    border-radius: 20px;
    background: linear-gradient(145deg, #102a4c 0%, #2563eb 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    flex-shrink: 0;
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.22);
}

.admin-module-content h3 {
    margin: 0;
    color: #0f172a;
    font-size: 21px;
    font-weight: 900;
}

.admin-module-content p {
    margin: 8px 0 12px 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.45;
}

.admin-module-content span {
    display: inline-flex;
    align-items: center;
    height: 28px;
    padding: 0 11px;
    border-radius: 999px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 12px;
    font-weight: 850;
}

@media (max-width: 1100px) {
    .admin-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-module-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .admin-hero {
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 26px;
    }

        .admin-hero h1 {
            font-size: 30px;
        }

    .admin-hero-badge {
        width: 100%;
    }

    .admin-kpi-grid,
    .admin-module-grid {
        grid-template-columns: 1fr;
    }
}

.zona-money-positive {
    color: #047857;
    font-weight: 900;
}

.zona-money-negative {
    color: #dc2626;
    font-weight: 900;
}

.pos-header-actions-wide {
    align-items: center;
    flex-wrap: wrap;
}

.pos-barcode-input {
    width: 260px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid #dbe3ef;
    background: #ffffff;
    color: #0f172a;
    padding: 0 16px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
}

    .pos-barcode-input:focus {
        outline: none;
        border-color: #2563eb;
        box-shadow: 0 0 0 4px rgba(37, 99, 235, .10);
    }

.pos-unit {
    font-size: 12px;
    color: #64748b;
    font-weight: 800;
}

.zona-status-danger {
    background: #fef2f2 !important;
    color: #b91c1c !important;
}

.zona-action-danger {
    color: #dc2626 !important;
}

.pos-mobile-order-btn {
    display: none;
}

@media (max-width: 820px) {
    .pos-mobile-order-btn {
        display: flex;
        position: fixed;
        left: 16px;
        right: 16px;
        bottom: 16px;
        z-index: 9998;
        height: 54px;
        border: none;
        border-radius: 18px;
        background: #102a4c;
        color: #ffffff;
        font-weight: 900;
        align-items: center;
        justify-content: center;
        box-shadow: 0 18px 45px rgba(15, 42, 79, 0.35);
    }

    .pos-order {
        display: none;
    }

        .pos-order.pos-order-mobile-open {
            display: block;
            position: fixed !important;
            left: 12px;
            right: 12px;
            top: 88px;
            bottom: 84px;
            z-index: 9997;
            overflow-y: auto;
            border-radius: 22px;
        }

    .pos-products {
        padding-bottom: 80px;
    }
}