/* Webcraft POS — gaya tambahan di atas Bootstrap (lokal, tanpa CDN). */
:root {
    --wc-nav: #153b63;
    --wc-soft: #f4f6f9;
    --wc-radius: 10px;
}

html { -webkit-text-size-adjust: 100%; }
body.wc-body { background: var(--wc-soft); min-height: 100vh; }
.navbar.wc-nav { background: var(--wc-nav); }
.navbar.wc-nav .nav-link.active { font-weight: 600; text-decoration: underline; }
.wc-logo { width: 28px; height: 28px; object-fit: contain; margin-right: 8px; }
.wc-main { padding-bottom: 2rem; }
.wc-footer { border-top: 1px solid #dee2e6; background: #fff; }
.navbar-user { flex-wrap: wrap; }

.card { border: 0; border-radius: var(--wc-radius); box-shadow: 0 1px 3px rgba(16, 24, 40, .08); }
.stat-card .stat-label { font-size: .78rem; color: #6c757d; }
.stat-card .stat-value { font-size: 1.25rem; font-weight: 700; overflow-wrap: anywhere; }
.chart-wrap { position: relative; height: 260px; width: 100%; }
.table { font-size: .875rem; }
.table-responsive { max-width: 100%; }
.btn-sm { white-space: normal; }
.form-label { font-size: .85rem; font-weight: 600; }
.text-break { overflow-wrap: anywhere; }

.wc-product-tile { border: 1px solid #dee2e6; border-radius: var(--wc-radius); padding: .75rem; height: 100%; background: #fff; }
.wc-product-name { font-size: .875rem; font-weight: 600; overflow-wrap: anywhere; }
.wc-cart-row { border-bottom: 1px solid #eee; padding: .5rem 0; }
.wc-qty-input { width: 72px; }

@media (max-width: 575.98px) {
    .wc-main { padding-left: 12px; padding-right: 12px; }
    .stat-value { font-size: 1.05rem; }
    .navbar-user .navbar-text { font-size: .75rem; }
    .chart-wrap { height: 220px; }
    .wc-hide-mobile { display: none !important; }
}

@media print {
    .wc-nav, .wc-footer, .no-print, .alert { display: none !important; }
    body.wc-body { background: #fff; }
    .wc-main { padding: 0; }
    .card { box-shadow: none; border: 0; }
    .wc-struk { max-width: 80mm; margin: 0 auto; font-size: 12px; }
    @page { size: 80mm auto; margin: 5mm; }
}
