body {
    background-color: #f4f6f9;
    font-family: 'Segoe UI', Roboto, Arial, sans-serif;
}

/* ---------- LOGIN PAGE ---------- */
.login-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}
.login-card {
    width: 100%;
    max-width: 420px;
    border-radius: 16px;
}
.login-icon {
    width: 64px;
    height: 64px;
    line-height: 64px;
    border-radius: 50%;
    background: #1a1a2e;
    color: #fff;
    font-size: 28px;
    margin: 0 auto;
}

/* ---------- LAYOUT DASHBOARD ---------- */
.sidebar {
    width: 250px;
    min-height: 100vh;
    background: #1a1a2e;
    color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    overflow-y: auto;
}
.sidebar .brand {
    padding: 1.25rem 1.25rem;
    font-weight: 700;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.sidebar .nav-link {
    color: #c9c9d1;
    padding: 0.7rem 1.25rem;
    border-left: 3px solid transparent;
}
.sidebar .nav-link:hover,
.sidebar .nav-link.active {
    color: #fff;
    background: rgba(255,255,255,0.06);
    border-left: 3px solid #e94560;
}
.sidebar .nav-link i {
    width: 20px;
    margin-right: 8px;
}
.main-content {
    margin-left: 250px;
    padding: 1.5rem 1.75rem;
}
.topbar {
    background: #fff;
    padding: 0.85rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    margin-bottom: 1.5rem;
}
.stat-card {
    border: none;
    border-radius: 14px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}
.stat-card .icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
}

/* ---------- POS KASIR ---------- */
.menu-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.07);
    cursor: pointer;
    transition: transform .1s ease;
}
.menu-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}
.cart-box {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.06);
    position: sticky;
    top: 1rem;
}

/* ---------- STRUK / RECEIPT ---------- */
.struk {
    max-width: 320px;
    margin: 0 auto;
    font-family: 'Courier New', monospace;
    font-size: 13px;
}
@media print {
    .no-print { display: none !important; }
    .struk { max-width: 100%; }
}

@media (max-width: 768px) {
    .sidebar { left: -250px; transition: left .2s; }
    .sidebar.show { left: 0; }
    .main-content { margin-left: 0; }
}
