/* ... Previous CSS ... */

/* POS Table Node - Grid Version */
.table-node {
    width: 140px;
    height: 140px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
    box-shadow: var(--shadow);
    border: 3px solid transparent;
    background: white;
    /* Default */
}

.table-node:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Colors */
.table-empty {
    background: white;
    border-color: #CBD5E1;
    color: #64748B;
}

.table-seated {
    background: #FEF3C7;
    border-color: #F59E0B;
    color: #B45309;
}

.table-dining {
    background: #DBEAFE;
    border-color: #3B82F6;
    color: #1E40AF;
}

/* Added dining */
/* Added served - Make it GREEN to distinguish from Dining */
.table-served {
    background: #d1fae5;
    border-color: #10b981;
    color: #065f46;
}

.table-payment {
    background: #FEE2E2;
    border-color: #EF4444;
    color: #991B1B;
}

/* ... Rest of CSS ... */
:root {
    --primary: #4F46E5;
    --primary-dark: #4338ca;
    --secondary: #64748B;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --dark: #1E293B;
    --light: #F8FAFC;
    --surface: #FFFFFF;
    --border-radius: 12px;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

body {
    background-color: #F1F5F9;
    color: var(--dark);
}

/* Utilities */
.bg-surface {
    background-color: var(--surface);
}

.text-primary {
    color: var(--primary) !important;
}

.shadow-sm {
    box-shadow: var(--shadow-sm) !important;
}

.shadow {
    box-shadow: var(--shadow) !important;
}

.shadow-lg {
    box-shadow: var(--shadow-lg) !important;
}

.rounded-xl {
    border-radius: var(--border-radius) !important;
}

/* Cards */
.card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
    overflow: hidden;
}

.card-hover:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.card-header {
    background-color: var(--surface);
    border-bottom: 1px solid #E2E8F0;
    font-weight: 600;
    padding: 1rem 1.5rem;
}

/* Sidebar (Admin) */
.admin-sidebar {
    height: 100vh;
    background: var(--dark);
    color: white;
    padding-top: 1rem;
    position: fixed;
    width: 250px;
    left: 0;
    top: 0;
    z-index: 1000;
    overflow-y: auto;
}

/* Custom Scrollbar for Sidebar */
.admin-sidebar::-webkit-scrollbar {
    width: 6px;
}

.admin-sidebar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.admin-sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.admin-sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

.admin-sidebar .nav-link {
    color: #94A3B8;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-left: 3px solid transparent;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    color: white;
    background: rgba(255, 255, 255, 0.05);
    border-left-color: var(--primary);
}

.admin-content {
    margin-left: 250px;
    padding: 2rem;
}

/* POS Layout */
.pos-wrapper {
    height: 100vh;
    overflow: hidden;
    background-color: #eef2f6;
}

.pos-topbar {
    height: 60px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    justify-content: space-between;
    position: relative;
    z-index: 1050;
}

.pos-content {
    height: calc(100vh - 60px);
    display: flex;
}

.pos-map-area {
    flex: 1;
    padding: 2rem;
    overflow-y: auto;
    background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
    background-size: 20px 20px;
}

.pos-sidebar {
    width: 350px;
    background: var(--surface);
    border-left: 1px solid #E2E8F0;
    display: flex;
    flex-direction: column;
}

.pos-cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

/* Buttons */
.btn {
    border-radius: 8px;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.2s;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

/* Modals */
.modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: var(--shadow-lg);
}

.modal-header {
    border-bottom: 1px solid #F1F5F9;
}