/* ============================================================
   NEOTECH POS SYSTEM · PROFESSIONAL EDITION v2
   Inspired by BAHMBYY elegance · Optimized for corporate efficiency
   ============================================================ */

/* ---------- CSS Variables (Corporate Luxury Palette) ---------- */
:root {
    /* Core colors - refined, professional */
    --primary-dark: #0a1424;      /* deep navy */
    --primary-darker: #050b16;
    --secondary-dark: #1a2538;
    --accent-gold: #c6a43f;        /* muted gold for corporate */
    --accent-gold-light: #d8b956;
    --success: #0e9f6e;            /* calm green */
    --success-light: #e0f2e9;
    --danger: #b91c1c;             /* deep red */
    --danger-light: #fee2e2;
    --warning: #b45309;            /* amber */
    --warning-light: #ffedd5;
    
    /* Neutrals - high-end feel */
    --bg-primary: #f3f6fc;         /* very light blue-gray background */
    --bg-secondary: #ffffff;
    --bg-tertiary: #eef2f6;
    --surface-card: #ffffff;
    --border-light: #e2e8f0;
    --border-medium: #cbd5e1;
    --text-primary: #0b1c33;
    --text-secondary: #334155;
    --text-tertiary: #64748b;
    --text-muted: #94a3b8;
    
    /* Shadows & effects */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 8px 24px rgba(0, 20, 40, 0.08), 0 2px 6px rgba(0, 0, 0, 0.02);
    --shadow-lg: 0 20px 40px -12px rgba(0, 20, 40, 0.25), 0 4px 18px rgba(0, 0, 0, 0.05);
    --shadow-focus: 0 0 0 4px rgba(198, 164, 63, 0.2);
    --shadow-gold: 0 12px 28px -8px rgba(198, 164, 63, 0.3);
    
    /* Spacing & radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ========== LAYOUT ========== */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== SIDEBAR LAYOUT (Compact & Elegant) ========== */
.sidebar-layout {
    display: flex;
    min-height: 100vh;
    background: var(--bg-primary);
}

/* Sidebar - Ultra compact, elegant dark */
.sidebar {
    width: 220px;
    background: var(--surface-card);
    box-shadow: 2px 0 16px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1000;
    border-right: 1px solid var(--border-light);
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

/* Sidebar Brand - compact */
.sidebar-brand {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-logo {
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, var(--accent-gold), var(--primary-dark));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    box-shadow: 0 8px 16px -6px var(--accent-gold);
}

.brand-name {
    font-size: 0.95rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--text-primary), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

/* Sidebar User - ultra compact */
.sidebar-user {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--border-light);
}

.user-avatar {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--accent-gold), var(--primary-dark));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px -3px var(--accent-gold-light);
}

.user-info {
    flex: 1;
}

.user-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
    font-size: 0.8rem;
}

.role-indicator {
    font-size: 0.6rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

.role-indicator i {
    font-size: 0.45rem;
}

.role-indicator.role-admin i { color: var(--danger); }
.role-indicator.role-manager i { color: var(--warning); }
.role-indicator.role-cashier i { color: var(--success); }

/* Sidebar Navigation - ultra compact */
.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding: 8px 8px;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-gold-light) var(--bg-tertiary);
}

.sidebar-nav::-webkit-scrollbar {
    width: 3px;
}

.sidebar-nav::-webkit-scrollbar-track {
    background: var(--bg-tertiary);
}

.sidebar-nav::-webkit-scrollbar-thumb {
    background: var(--accent-gold-light);
    border-radius: 4px;
}

.sidebar-nav ul {
    list-style: none;
}

.nav-section {
    margin-bottom: 12px;
}

.nav-section-title {
    padding: 4px 12px;
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-tertiary);
    font-weight: 600;
}

.sidebar-nav li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition-base);
    margin-bottom: 2px;
    font-size: 0.8rem;
}

.sidebar-nav li a i {
    width: 18px;
    font-size: 0.9rem;
    color: var(--text-tertiary);
    transition: var(--transition-base);
}

.sidebar-nav li:hover a {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    transform: translateX(2px);
}

.sidebar-nav li:hover a i {
    color: var(--accent-gold);
}

.sidebar-nav li.active a {
    background: var(--accent-gold-light);
    color: var(--primary-dark);
    font-weight: 500;
}

.sidebar-nav li.active a i {
    color: var(--accent-gold);
}

/* Navigation Badges */
.nav-badge {
    padding: 2px 5px;
    border-radius: 20px;
    font-size: 0.55rem;
    font-weight: 600;
    min-width: 16px;
    text-align: center;
    margin-left: auto;
}

.nav-badge.warning {
    background: var(--warning-light);
    color: var(--warning);
}

.nav-badge.danger {
    background: var(--danger-light);
    color: var(--danger);
}

.nav-badge.success {
    background: var(--success-light);
    color: var(--success);
}

.nav-badge.info {
    background: var(--accent-gold-light);
    color: var(--primary-dark);
}

/* Sidebar Footer - compact */
.sidebar-footer {
    padding: 10px 16px;
    border-top: 1px solid var(--border-light);
}

.system-info {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-tertiary);
    font-size: 0.7rem;
    margin-bottom: 6px;
}

.system-info i.fa-circle {
    font-size: 0.45rem;
}

.system-info .text-success { color: var(--success); }
.system-info .text-danger { color: var(--danger); }

.logout-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 4px 0;
    font-size: 0.8rem;
    transition: var(--transition-base);
}

.logout-btn:hover {
    color: var(--danger);
    transform: translateX(2px);
}

.logout-btn i {
    width: 18px;
    font-size: 0.9rem;
}

/* ========== MAIN CONTENT AREA ========== */
.main-area {
    flex: 1;
    margin-left: 220px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Top Bar - ultra compact */
.top-bar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    padding: 6px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 900;
    min-height: 48px;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.page-title {
    display: flex;
    align-items: center;
    gap: 6px;
}

.page-title h1 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: capitalize;
    margin: 0;
}

.page-action {
    color: var(--accent-gold);
    font-size: 0.85rem;
    font-weight: 500;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.icon-btn {
    background: none;
    border: none;
    font-size: 1rem;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px;
    border-radius: 8px;
    transition: var(--transition-base);
    position: relative;
}

.icon-btn:hover {
    background: var(--bg-tertiary);
    color: var(--accent-gold);
}

.notification-dot {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 6px;
    height: 6px;
    background: var(--danger);
    border-radius: 50%;
    border: 2px solid var(--surface-card);
}

.datetime {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    font-size: 0.75rem;
    background: var(--bg-tertiary);
    padding: 4px 10px;
    border-radius: 30px;
}

.datetime i {
    color: var(--accent-gold);
    font-size: 0.8rem;
}

/* Quick Menu - compact */
.quick-menu {
    position: fixed;
    top: 55px;
    right: 20px;
    background: var(--surface-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 280px;
    z-index: 950;
    border: 1px solid var(--border-light);
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.quick-menu.show {
    opacity: 1;
    transform: translateY(0);
}

.quick-menu-header {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.quick-menu-header h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.quick-menu-header button {
    background: none;
    border: none;
    color: var(--text-tertiary);
    cursor: pointer;
    font-size: 0.9rem;
}

.quick-menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 12px;
}

.quick-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 6px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition-base);
    position: relative;
    font-size: 0.75rem;
}

.quick-action:hover {
    background: var(--accent-gold-light);
    transform: translateY(-2px);
}

.quick-action i {
    font-size: 1.1rem;
    color: var(--accent-gold);
}

.quick-action .badge-small {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--danger);
    color: white;
    font-size: 0.5rem;
    padding: 1px 4px;
    border-radius: 10px;
}

/* Content Wrapper */
.content-wrapper {
    padding: 16px 20px;
    flex: 1;
}

/* ========== ALERTS ========== */
.alert {
    padding: 10px 16px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideIn 0.3s ease;
    border: 1px solid transparent;
    font-size: 0.9rem;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.alert-success {
    background: var(--success-light);
    color: #0B5E42;
    border-color: #A7F3D0;
}

.alert-error {
    background: var(--danger-light);
    color: #991B1B;
    border-color: #FECACA;
}

.alert-close {
    margin-left: auto;
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    opacity: 0.6;
}

.offline-indicator {
    background: var(--warning-light);
    color: var(--warning);
    padding: 8px 14px;
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    font-size: 0.8rem;
    border: 1px solid #FDE68A;
}

/* ========== CARDS ========== */
.card {
    background: var(--surface-card);
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition-base);
    margin-bottom: 16px;
}

.card:hover {
    box-shadow: var(--shadow-md);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-light);
}

.card-header h2 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.card-header h2 i {
    color: var(--accent-gold);
    font-size: 1rem;
}

/* ========== TABLES ========== */
.table-responsive {
    overflow-x: auto;
    border-radius: var(--radius-md);
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--surface-card);
}

th {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid var(--border-medium);
}

td {
    padding: 8px 12px;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-primary);
    font-size: 0.85rem;
}

tr:last-child td {
    border-bottom: none;
}

tbody tr:hover {
    background: var(--bg-tertiary);
}

/* ========== FORMS ========== */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group {
    margin-bottom: 12px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 4px;
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.form-group small {
    display: block;
    margin-top: 4px;
    color: var(--text-tertiary);
    font-size: 0.7rem;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="date"],
select,
textarea {
    width: 100%;
    padding: 6px 10px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--text-primary);
    transition: var(--transition-base);
    font-family: 'Inter', sans-serif;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-focus);
    background: var(--surface-card);
}

input.readonly-field {
    background: var(--border-light);
    cursor: not-allowed;
}

/* Password Field */
.password-field {
    position: relative;
    display: flex;
}

.password-field input {
    flex: 1;
    padding-right: 35px;
}

.toggle-password {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-tertiary);
    font-size: 0.8rem;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--surface-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.8rem;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-base);
    font-family: 'Inter', sans-serif;
}

.btn:hover {
    background: var(--bg-tertiary);
    border-color: var(--border-medium);
    color: var(--text-primary);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.btn-success {
    background: var(--success);
    border-color: var(--success);
    color: white;
}

.btn-success:hover {
    background: #0c8a5c;
    border-color: #0c8a5c;
    color: white;
}

.btn-danger {
    background: var(--danger);
    border-color: var(--danger);
    color: white;
}

.btn-danger:hover {
    background: #a01b1b;
    border-color: #a01b1b;
}

.btn-warning {
    background: var(--warning);
    border-color: var(--warning);
    color: white;
}

.btn-warning:hover {
    background: #9e3d0a;
    border-color: #9e3d0a;
}

.btn-info {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--primary-dark);
}

.btn-info:hover {
    background: var(--accent-gold-light);
    border-color: var(--accent-gold-light);
}

.btn-small {
    padding: 4px 10px;
    font-size: 0.7rem;
}

.btn-large {
    padding: 8px 18px;
    font-size: 0.9rem;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* ========== STATS CARDS ========== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.stat-card {
    background: var(--surface-card);
    border-radius: var(--radius-lg);
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition-base);
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    background: var(--bg-tertiary);
    color: var(--accent-gold);
}

.stat-content {
    flex: 1;
}

.stat-value {
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.stat-label {
    color: var(--text-tertiary);
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

/* Mini Stats */
.mini-stat-card {
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--border-light);
}

.mini-stat-card i {
    font-size: 1.1rem;
    color: var(--accent-gold);
    width: 32px;
    height: 32px;
    background: var(--surface-card);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mini-stat-card strong {
    font-size: 1rem;
    display: block;
    color: var(--text-primary);
}

.mini-stat-card span {
    font-size: 0.7rem;
    color: var(--text-tertiary);
}

/* ========== BADGES ========== */
.badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 100px;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.badge.local {
    background: var(--success-light);
    color: var(--success);
}

.badge.imported {
    background: var(--accent-gold-light);
    color: var(--primary-dark);
}

.status-received {
    background: var(--success-light);
    color: var(--success);
}

.status-pending {
    background: var(--warning-light);
    color: var(--warning);
}

.status-cancelled {
    background: var(--danger-light);
    color: var(--danger);
}

/* ========== UTILITIES ========== */
.text-success { color: var(--success); }
.text-warning { color: var(--warning); }
.text-danger { color: var(--danger); }
.text-accent { color: var(--accent-gold); }
.text-muted { color: var(--text-tertiary); }

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

/* ========== LOGIN PAGE ========== */
.layout-login {
    background: linear-gradient(135deg, var(--accent-gold-light), var(--bg-primary));
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    max-width: 380px;
    width: 90%;
    margin: 0 auto;
    padding: 32px 28px;
    background: var(--surface-card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.login-logo {
    text-align: center;
    margin-bottom: 24px;
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-primary), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.login-container .btn-success {
    width: 100%;
    margin-top: 8px;
}

.login-footer {
    text-align: center;
    margin-top: 20px;
    color: var(--text-tertiary);
    font-size: 0.75rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .sidebar {
        width: 70px;
    }
    
    .sidebar .brand-name,
    .sidebar .user-info,
    .sidebar-nav li a span,
    .sidebar-footer span {
        display: none;
    }
    
    .sidebar-brand {
        justify-content: center;
        padding: 12px 0;
    }
    
    .sidebar-user {
        justify-content: center;
        padding: 12px 0;
    }
    
    .sidebar-nav li a {
        justify-content: center;
        padding: 8px;
    }
    
    .sidebar-nav li a i {
        width: auto;
        font-size: 1.1rem;
    }
    
    .nav-badge {
        position: absolute;
        top: 0;
        right: 0;
        min-width: 14px;
        padding: 1px 3px;
    }
    
    .sidebar-footer {
        padding: 12px 0;
        text-align: center;
    }
    
    .system-info {
        justify-content: center;
    }
    
    .main-area {
        margin-left: 70px;
    }
}

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        width: 200px;
    }
    
    .sidebar .brand-name,
    .sidebar .user-info,
    .sidebar-nav li a span,
    .sidebar-footer span {
        display: block;
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .menu-toggle {
        display: block;
    }
    
    .main-area {
        margin-left: 0;
    }
    
    .top-bar {
        padding: 4px 12px;
    }
    
    .datetime span {
        display: none;
    }
    
    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .content-wrapper {
        padding: 12px;
    }
}

@media print {
    .sidebar, .top-bar, .btn, .no-print {
        display: none !important;
    }
    
    .main-area {
        margin-left: 0;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* ========== Nyaga Softwares Credit (subtle) ========== */
.nyaga-credit {
    text-align: center;
    margin-top: 24px;
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.3px;
    opacity: 0.5;
    transition: opacity 0.2s;
}

.nyaga-credit:hover {
    opacity: 1;
}

.nyaga-credit a {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 500;
}

.nyaga-credit a:hover {
    text-decoration: underline;
}

/* ========== Focus & Accessibility ========== */
:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
}

/* ========== Compact POS Specific Overrides (from previous) ========== */
/* These are now merged into the main compact theme above */