@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700&display=swap');

:root {
    /* ═══════════════════════════════════════════════
       MO AYMAN — Professional Light Mode UI
    ═══════════════════════════════════════════════ */

    /* Surfaces */
    --bg-body: #f4f6fa;
    --bg-card: #ffffff;
    --bg-input: #f8f9fc;

    /* Text */
    --text-primary: #1e2330;
    --text-secondary: #5c6370;
    --text-muted: #8e95a5;

    /* Brand — Professional Blue */
    --brand: #4361ee;
    --brand-dark: #3a56d4;
    --brand-light: #6c85f7;
    --brand-gradient: linear-gradient(135deg, #4361ee, #6c85f7);
    --brand-soft: rgba(67, 97, 238, 0.08);
    --brand-glow: rgba(67, 97, 238, 0.12);

    /* Accent Colors */
    --emerald: #2ecc71;
    --emerald-soft: rgba(46, 204, 113, 0.1);
    --sky: #3498db;
    --sky-soft: rgba(52, 152, 219, 0.1);
    --amber: #f39c12;
    --amber-soft: rgba(243, 156, 18, 0.1);
    --rose: #e74c3c;
    --rose-soft: rgba(231, 76, 60, 0.1);
    --teal: #1abc9c;
    --teal-soft: rgba(26, 188, 156, 0.1);
    --amber-dark: #e67e22;

    /* Borders */
    --border: #dce1ea;
    --border-strong: #c5cdd8;
    --border-focus: rgba(67, 97, 238, 0.4);

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
    --shadow-card: 0 1px 4px rgba(0,0,0,0.04), 0 2px 12px rgba(0,0,0,0.02);
    --shadow-hover: 0 4px 20px rgba(67,97,238,0.08), 0 2px 8px rgba(0,0,0,0.04);
    --shadow-btn: 0 2px 10px rgba(67,97,238,0.2);

    /* Typography */
    --font: 'IBM Plex Sans Arabic', system-ui, sans-serif;

    /* Radii */
    --r-xs: 6px;
    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 14px;
    --r-xl: 18px;
    --r-full: 999px;

    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --speed: 0.2s;
}

/* ══════════ Reset ══════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
    background: var(--bg-body);
    color: var(--text-primary);
    font-family: var(--font);
    direction: rtl;
    text-align: right;
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.7;
    font-size: 15px;
    font-weight: 400;
}

::selection { background: var(--brand); color: #fff; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-body); }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--brand); }

/* ══════════ App Shell ══════════ */
.app-container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
}

.sidebar { display: none !important; }
.main-content { margin-right: 0 !important; padding: 0 !important; }

/* ══════════ Top Navbar ══════════ */
.top-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    padding: 1rem 1.75rem;
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-card);
    margin-bottom: 1.5rem;
}

.page-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-title::before {
    content: '';
    width: 4px;
    height: 22px;
    background: var(--brand);
    border-radius: 4px;
}

.system-time {
    font-size: 0.88rem;
    color: var(--text-secondary);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.system-time strong { color: var(--text-primary); font-weight: 600; }

.back-to-home {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.5rem 1.1rem;
    background: var(--brand-soft);
    color: var(--brand);
    border: 1.5px solid rgba(67,97,238,0.15);
    border-radius: var(--r-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all var(--speed) var(--ease);
}

.back-to-home:hover {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
}

/* ══════════ Welcome Banner ══════════ */
.welcome-banner {
    background: var(--brand-gradient);
    border-radius: var(--r-xl);
    padding: 2rem 2.5rem;
    margin-bottom: 1.5rem;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.welcome-banner::before {
    content: '';
    position: absolute;
    top: -60%;
    left: -15%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.welcome-text { position: relative; z-index: 1; }
.welcome-text h2 { font-size: 1.45rem; font-weight: 700; margin-bottom: 0.3rem; }
.welcome-text p { font-size: 0.92rem; opacity: 0.85; font-weight: 400; }

.welcome-date {
    position: relative;
    z-index: 1;
    text-align: left;
    font-weight: 600;
}

.welcome-date .date-big { font-size: 2.5rem; font-weight: 700; line-height: 1; }
.welcome-date .date-label { font-size: 0.85rem; opacity: 0.8; }

/* ══════════ Stats Grid ══════════ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
    gap: 1.15rem;
    margin-bottom: 1.5rem;
}

.stat-card {
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: var(--r-lg);
    padding: 1.35rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-card);
    transition: all var(--speed) var(--ease);
    position: relative;
    overflow: hidden;
}

.stat-card::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 4px;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.stat-card.c-purple::after { background: var(--brand); }
.stat-card.c-emerald::after { background: var(--emerald); }
.stat-card.c-sky::after { background: var(--sky); }
.stat-card.c-amber::after { background: var(--amber-dark); }
.stat-card.c-teal::after { background: var(--teal); }

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.stat-card.c-purple .stat-icon { background: var(--brand-soft); color: var(--brand); }
.stat-card.c-emerald .stat-icon { background: var(--emerald-soft); color: var(--emerald); }
.stat-card.c-sky .stat-icon { background: var(--sky-soft); color: var(--sky); }
.stat-card.c-amber .stat-icon { background: var(--amber-soft); color: var(--amber-dark); }
.stat-card.c-teal .stat-icon { background: var(--teal-soft); color: var(--teal); }

.stat-details { display: flex; flex-direction: column; }

.stat-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
}

.stat-value {
    font-size: 1.35rem;
    font-weight: 700;
    margin-top: 2px;
    color: var(--text-primary);
}

/* ══════════ Quick Actions Grid ══════════ */
.actions-section { margin-bottom: 1.75rem; }

.section-heading {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-heading i { color: var(--brand); }

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
}

.action-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem;
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: var(--r-lg);
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.85rem;
    gap: 12px;
    box-shadow: var(--shadow-card);
    transition: all var(--speed) var(--ease);
    position: relative;
    overflow: hidden;
}

.action-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    opacity: 0;
    transition: opacity var(--speed) var(--ease);
}

.action-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--border-strong);
}

.action-card:hover::before { opacity: 1; }
.action-card:active { transform: translateY(-1px); }

.action-card .action-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    transition: transform var(--speed) var(--ease);
}

.action-card:hover .action-icon { transform: scale(1.1); }
.action-card .action-label { text-align: center; line-height: 1.4; }

/* Color Variants */
.action-card.ac-purple::before { background: var(--brand); }
.action-card.ac-purple .action-icon { background: var(--brand-soft); color: var(--brand); }

.action-card.ac-emerald::before { background: var(--emerald); }
.action-card.ac-emerald .action-icon { background: var(--emerald-soft); color: var(--emerald); }

.action-card.ac-sky::before { background: var(--sky); }
.action-card.ac-sky .action-icon { background: var(--sky-soft); color: var(--sky); }

.action-card.ac-amber::before { background: var(--amber-dark); }
.action-card.ac-amber .action-icon { background: var(--amber-soft); color: var(--amber-dark); }

.action-card.ac-rose::before { background: var(--rose); }
.action-card.ac-rose .action-icon { background: var(--rose-soft); color: var(--rose); }

.action-card.ac-teal::before { background: var(--teal); }
.action-card.ac-teal .action-icon { background: var(--teal-soft); color: var(--teal); }

.action-card .notif-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--rose);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: var(--r-full);
    animation: pulse 1.5s infinite;
}

/* ══════════ Budget Tracker ══════════ */
.budget-tracker-card {
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: var(--r-lg);
    padding: 1.15rem 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-card);
}

.budget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.budget-title {
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.budget-title i { color: var(--brand); }

.budget-amount {
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--brand);
}

.budget-bar-container {
    width: 100%;
    height: 8px;
    background: #edf0f5;
    border-radius: var(--r-full);
    overflow: hidden;
    margin: 6px 0;
}

.budget-bar-fill {
    height: 100%;
    background: var(--brand-gradient);
    border-radius: var(--r-full);
    transition: width 1s var(--ease);
}

.budget-tracker-card small {
    color: var(--text-muted);
    font-size: 0.75rem;
}

/* ══════════ Card Panels ══════════ */
.card-panel {
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: var(--r-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
    margin-bottom: 1.5rem;
    transition: box-shadow var(--speed) var(--ease);
}

.card-panel:hover { box-shadow: var(--shadow-hover); }

.card-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    padding-bottom: 0.85rem;
    border-bottom: 1.5px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-primary);
}

.card-title i { margin-left: 6px; }

/* ══════════ Forms ══════════ */
.form-group { margin-bottom: 1.15rem; }

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--text-primary);
}

.form-control {
    width: 100%;
    background: var(--bg-input);
    border: 1.5px solid var(--border);
    border-radius: var(--r-sm);
    padding: 0.7rem 1rem;
    color: var(--text-primary);
    font-family: var(--font);
    font-size: 0.92rem;
    transition: all var(--speed) var(--ease);
    outline: none;
}

.form-control:focus {
    border-color: var(--brand);
    background: #fff;
    box-shadow: 0 0 0 3px var(--brand-glow);
}

.form-control::placeholder { color: var(--text-muted); }

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%238e95a5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 12px center;
    padding-left: 30px;
}

/* ══════════ Buttons ══════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0.65rem 1.35rem;
    border-radius: var(--r-sm);
    font-family: var(--font);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--speed) var(--ease);
    border: 1.5px solid transparent;
    text-decoration: none;
    outline: none;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
    background: var(--brand);
    color: #fff;
    box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
    background: var(--brand-dark);
    box-shadow: 0 4px 14px rgba(67,97,238,0.3);
}

.btn-secondary {
    background: #fff;
    color: var(--text-primary);
    border-color: var(--border);
}

.btn-secondary:hover {
    background: var(--bg-input);
    border-color: var(--border-strong);
}

.btn-danger {
    background: var(--rose);
    color: #fff;
}

.btn-danger:hover { background: #c0392b; }

.btn-warning {
    background: var(--amber-dark);
    color: #fff;
}

.btn-warning:hover { background: #d35400; }

.btn-success {
    background: var(--emerald);
    color: #fff;
}

.btn-success:hover { background: #27ae60; }

.btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    border-radius: var(--r-xs);
}

.btn i { font-size: 0.85em; }

/* ══════════ Tables ══════════ */
.table-responsive {
    overflow-x: auto;
    border-radius: var(--r-md);
    border: 1.5px solid var(--border);
}

table.table {
    width: 100%;
    border-collapse: collapse;
}

table.table th,
table.table td {
    padding: 0.85rem 1.15rem;
    text-align: right;
    border-bottom: 1px solid var(--border);
    font-size: 0.88rem;
}

table.table th {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.8rem;
    background: var(--bg-input);
    white-space: nowrap;
}

table.table tr:last-child td { border-bottom: none; }
table.table tbody tr { transition: background var(--speed) var(--ease); }
table.table tbody tr:hover { background: #f8f9fc; }

/* ══════════ Badges ══════════ */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0.3rem 0.7rem;
    border-radius: var(--r-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-success { background: var(--emerald-soft); color: #27ae60; }
.badge-danger { background: var(--rose-soft); color: #c0392b; }
.badge-warning { background: var(--amber-soft); color: #d35400; }
.badge-info { background: var(--sky-soft); color: #2980b9; }
.badge-primary { background: var(--brand-soft); color: var(--brand); }

/* ══════════ Alerts ══════════ */
.alert {
    padding: 0.85rem 1.25rem;
    border-radius: var(--r-md);
    margin-bottom: 1.25rem;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1.5px solid transparent;
    animation: slideDown 0.3s var(--ease);
}

.alert-success { background: var(--emerald-soft); border-color: rgba(46,204,113,0.2); color: #27ae60; }
.alert-danger { background: var(--rose-soft); border-color: rgba(231,76,60,0.2); color: #c0392b; }
.alert-warning { background: var(--amber-soft); border-color: rgba(243,156,18,0.2); color: #d35400; }
.alert-info { background: var(--sky-soft); border-color: rgba(52,152,219,0.2); color: #2980b9; }

/* ══════════ POS Layout ══════════ */
.pos-layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 1.5rem;
    height: calc(100vh - 130px);
}

@media (max-width: 1200px) {
    .pos-layout { grid-template-columns: 1fr; height: auto; }
}

.pos-cart-panel { display: flex; flex-direction: column; height: 100%; }

.pos-cart-items {
    flex-grow: 1;
    overflow-y: auto;
    max-height: calc(100vh - 380px);
    margin-bottom: 1rem;
    border-radius: var(--r-md);
    border: 1.5px solid var(--border);
}

.pos-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    padding: 0.6rem 0;
    border-bottom: 1px dashed var(--border);
    color: var(--text-secondary);
}

.pos-summary-total {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--brand);
    padding: 1rem 0;
    border-bottom: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pos-input-scanner { position: relative; margin-bottom: 1rem; }

.pos-scanner-glow {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: var(--emerald);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--emerald);
    animation: scannerPulse 2s infinite;
}

/* ══════════ Login Page ══════════ */
.login-body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: #f4f6fa;
    position: relative;
}

.login-body::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 50%;
    background: var(--brand-gradient);
    border-radius: 0 0 40px 40px;
}

.login-card {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--r-xl);
    padding: 2.75rem 2.25rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    position: relative;
    z-index: 1;
    animation: slideUp 0.4s var(--ease);
}

.login-header { text-align: center; margin-bottom: 2rem; }

.login-header h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--brand);
    margin-bottom: 0.4rem;
    letter-spacing: 1px;
}

.login-header p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 400;
}

.login-card .form-group label { color: var(--text-primary); }
.login-card .form-control { background: var(--bg-input); border-color: var(--border); }
.login-card .form-control:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-glow); }

/* ══════════ Layout Grids ══════════ */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

@media (max-width: 1024px) {
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

.flex-between { display: flex; justify-content: space-between; align-items: center; }
.flex-gap { display: flex; gap: 10px; align-items: center; }

/* ══════════ Barcode Stickers ══════════ */
.barcode-print-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.5rem;
    padding: 1rem;
}

.barcode-sticker {
    background: #fff;
    color: #000;
    padding: 15px;
    border-radius: var(--r-sm);
    text-align: center;
    border: 1.5px solid var(--border);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* ══════════ Animations ══════════ */
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scannerPulse {
    0%, 100% { transform: translateY(-50%) scale(1); opacity: 0.5; }
    50% { transform: translateY(-50%) scale(1.3); opacity: 1; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Stagger */
.stat-card { animation: slideUp 0.35s var(--ease) backwards; }
.stat-card:nth-child(1) { animation-delay: 0.03s; }
.stat-card:nth-child(2) { animation-delay: 0.06s; }
.stat-card:nth-child(3) { animation-delay: 0.09s; }
.stat-card:nth-child(4) { animation-delay: 0.12s; }
.stat-card:nth-child(5) { animation-delay: 0.15s; }

.action-card { animation: slideUp 0.35s var(--ease) backwards; }
.action-card:nth-child(1) { animation-delay: 0.04s; }
.action-card:nth-child(2) { animation-delay: 0.07s; }
.action-card:nth-child(3) { animation-delay: 0.10s; }
.action-card:nth-child(4) { animation-delay: 0.13s; }
.action-card:nth-child(5) { animation-delay: 0.16s; }
.action-card:nth-child(6) { animation-delay: 0.19s; }
.action-card:nth-child(7) { animation-delay: 0.22s; }
.action-card:nth-child(8) { animation-delay: 0.25s; }
.action-card:nth-child(9) { animation-delay: 0.28s; }

/* Hide print header by default on screen */
.print-only-header { display: none; }

/* ══════════ Print ══════════ */
@media print {
    body { background: #fff !important; color: #000 !important; font-family: Arial, sans-serif !important; }
    .sidebar, .top-navbar, .btn, .no-print, .welcome-banner, .actions-section, form, .form-group, .form-control { display: none !important; }
    .main-content, .app-container { margin: 0 !important; padding: 0 !important; max-width: 100% !important; }
    .print-only-header { display: block !important; text-align: center; margin-bottom: 2rem; }
    .print-only-header h2 { font-size: 1.4rem; font-weight: 700; margin-bottom: 0.2rem; color: #000; }
    .print-only-header h3 { font-size: 1.1rem; color: #333; }
    .print-only-header p { font-size: 0.85rem; color: #666; margin-top: 4px; }
    
    .card-panel { border: none !important; box-shadow: none !important; padding: 0 !important; margin-bottom: 2rem !important; background: transparent !important; }
    .card-title { font-size: 1.1rem !important; font-weight: bold !important; border-bottom: 2px solid #000 !important; padding-bottom: 5px !important; margin-bottom: 15px !important; display: flex; justify-content: space-between; align-items: center; }
    .card-title .btn, .card-title a, .card-title form { display: none !important; }
    
    .table-responsive { border: none !important; overflow: visible !important; }
    table.table { width: 100% !important; border-collapse: collapse !important; margin-top: 10px !important; }
    table.table th, table.table td { border: 1px solid #000 !important; padding: 6px 10px !important; font-size: 10pt !important; color: #000 !important; text-align: right !important; }
    table.table th { background: #f2f2f2 !important; font-weight: bold !important; -webkit-print-color-adjust: exact; }
    .badge { border: 1px solid #666 !important; background: transparent !important; color: #000 !important; padding: 2px 6px !important; }
    
    .receipt-print { width: 80mm; max-width: 80mm; padding: 5mm; margin: 0 auto; direction: rtl; text-align: right; font-size: 12px; }
    .barcode-sticker { width: 50mm !important; height: 25mm !important; border: none !important; box-shadow: none !important; padding: 2mm !important; page-break-after: always !important; }
}

/* ══════════ Responsive ══════════ */
@media (max-width: 768px) {
    .app-container { padding: 1rem; }
    .actions-grid { grid-template-columns: repeat(3, 1fr); }
    .welcome-banner { flex-direction: column; text-align: center; gap: 1rem; padding: 1.5rem; }
    .welcome-date { text-align: center; }
}

@media (max-width: 480px) {
    .actions-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
