/* ==========================================================================
   Nature's Touch Connect - Botanical Garden Theme Stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* --- CSS Custom Properties --- */
:root {
    --nt-primary: #2D5A27;    /* Deep Botanical Green */
    --nt-secondary: #87A96B;  /* Sage Leaf */
    --nt-dark: #1B3817;       /* Deep Earth */
    --nt-slate: #2B2F33;      /* Dark slate for text */
    --nt-cream: #FAF8F5;      /* Warm Garden Cream backgrounds */
    --nt-white: #FFFFFF;      /* Cards, modals */
    --nt-border: #E2E8F0;     /* Light Olive Gray borders */
    --nt-sidebar-width: 250px;
    --nt-sidebar-collapsed-width: 72px;
    --nt-topbar-height: 60px;
    --nt-font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --nt-font-heading: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
    --shadow-green: 0 8px 24px rgba(45,90,39,0.15);
    --transition-fast: all 0.2s ease;
    --transition-base: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }
body {
    font-family: var(--nt-font-body);
    background: var(--nt-cream);
    color: var(--nt-slate);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    line-height: 1.6;
}
h1, h2, h3, h4, h5, h6 {
    font-family: var(--nt-font-heading);
    line-height: 1.2;
}
::selection {
    background: var(--nt-secondary);
    color: white;
}
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--nt-cream);
}
::-webkit-scrollbar-thumb {
    background: var(--nt-secondary);
}

/* Navbar */
.navbar-garden {
    background: linear-gradient(to right, var(--nt-dark), var(--nt-primary));
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
    padding: 0.875rem 0;
}
.navbar-brand {
    font-family: var(--nt-font-heading);
    font-size: 1.4rem;
    color: white;
    letter-spacing: -0.3px;
}
.navbar-logo-img {
    width: 40px !important;
    height: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 2px solid rgba(255, 255, 255, 0.6) !important;
    background: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}
.navbar-garden .nav-link {
    color: rgba(255,255,255,0.82);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    position: relative;
}
.navbar-garden .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--nt-secondary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}
.navbar-garden .nav-link:hover::after, .navbar-garden .nav-link.active::after {
    width: 70%;
}
.navbar-garden .nav-link:hover, .navbar-garden .nav-link.active {
    color: white !important;
}

/* Nav Pills (Admin & Modal Tabs) */
.nav-pills .nav-link {
    color: var(--nt-dark);
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.2s ease;
}
.nav-pills .nav-link:not(.active):hover {
    background-color: rgba(135, 169, 107, 0.14) !important;
    color: var(--nt-primary) !important;
    border-color: var(--nt-secondary) !important;
}
.nav-pills .nav-link.active {
    background-color: var(--nt-primary) !important;
    color: #ffffff !important;
}
.navbar-toggler-icon {
    filter: invert(1);
}

/* Buttons */
.btn-garden {
    background: var(--nt-primary);
    color: white;
    border: none;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 0.6rem 1.75rem;
    border-radius: 8px;
    transition: var(--transition-fast);
    letter-spacing: 0.2px;
}
.btn-garden:hover {
    background: var(--nt-dark);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-green);
}
.btn-garden:active {
    transform: translateY(0);
}
.btn-garden-outline {
    background: transparent;
    color: var(--nt-primary);
    border: 2px solid var(--nt-primary);
    font-weight: 600;
    padding: 0.5rem 1.75rem;
    border-radius: 8px;
    transition: var(--transition-fast);
}
.btn-garden-outline:hover {
    background: var(--nt-primary);
    color: white;
}

/* Hero Section */
.hero-section {
    min-height: 88vh;
    background: linear-gradient(155deg, #0f2110 0%, var(--nt-dark) 35%, var(--nt-primary) 80%, #3a7a30 100%);
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 75% 40%, rgba(135,169,107,0.18) 0%, transparent 65%);
    pointer-events: none;
}
.hero-bg-decor {
    position: absolute;
    top: -2rem;
    right: -3rem;
    font-size: 18rem;
    color: rgba(255,255,255,0.035);
    pointer-events: none;
    line-height: 1;
    z-index: 0;
}
.hero-content {
    position: relative;
    z-index: 1;
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(135,169,107,0.2);
    border: 1px solid rgba(135,169,107,0.35);
    color: var(--nt-secondary);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(4px);
}
.hero-title {
    font-family: var(--nt-font-heading);
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1rem;
    text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}
.hero-title .text-accent {
    color: var(--nt-secondary);
}
.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    color: rgba(250,248,245,0.88);
    margin-bottom: 0.5rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}
.hero-tagline {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.5);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 2rem;
}
.hero-tagline span {
    margin: 0 0.5rem;
}
.btn-hero-primary {
    background: var(--nt-secondary);
    color: var(--nt-dark);
    font-weight: 700;
    padding: 0.8rem 2.2rem;
    border-radius: 50px;
    border: none;
    font-size: 1rem;
    transition: var(--transition-fast);
    box-shadow: 0 4px 20px rgba(135,169,107,0.4);
}
.btn-hero-primary:hover {
    background: #9abf7a;
    color: var(--nt-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(135,169,107,0.5);
}
.btn-hero-fb {
    background: rgba(24,119,242,0.15);
    color: white;
    border: 1px solid rgba(255,255,255,0.25);
    font-weight: 600;
    padding: 0.8rem 2.2rem;
    border-radius: 50px;
    font-size: 1rem;
    transition: var(--transition-fast);
    backdrop-filter: blur(4px);
}
.btn-hero-fb:hover {
    background: #1877F2;
    color: white;
    border-color: #1877F2;
    transform: translateY(-2px);
}
.btn-hero-outline {
    background: transparent;
    color: white;
    border: 1px solid rgba(255,255,255,0.35);
    font-weight: 500;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    transition: var(--transition-fast);
}
.btn-hero-outline:hover {
    background: rgba(255,255,255,0.1);
    color: white;
}
.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.4);
    font-size: 1.4rem;
    animation: bounce 2s infinite;
}

/* Animations */
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-8px); }
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes slideInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeIn 0.4s ease forwards; }
.slide-in-up { animation: slideInUp 0.5s ease forwards; }

/* About Section */
.section-header { margin-bottom: 3rem; }
.section-title {
    font-family: var(--nt-font-heading);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--nt-dark);
    margin-bottom: 0.75rem;
}
.section-title::after {
    content: '';
    display: block;
    width: 52px;
    height: 3px;
    background: linear-gradient(to right, var(--nt-primary), var(--nt-secondary));
    margin-top: 0.75rem;
    border-radius: 2px;
}
.section-title.centered::after {
    margin-left: auto;
    margin-right: auto;
}
.section-subtitle {
    font-size: 1rem;
    color: #6b7280;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.75;
}
.about-section {
    padding: 5rem 0;
    background: var(--nt-cream);
}
.feature-card {
    background: white;
    border-radius: 16px;
    padding: 2.25rem 2rem;
    border: 1px solid var(--nt-border);
    border-top: 4px solid;
    transition: var(--transition-base);
    height: 100%;
    box-shadow: var(--shadow-sm);
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.feature-card.green-accent { border-top-color: var(--nt-primary); }
.feature-card.sage-accent { border-top-color: var(--nt-secondary); }
.feature-card.amber-accent { border-top-color: #f59e0b; }
.feature-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}
.feature-icon-wrap.green { background: rgba(45,90,39,0.1); color: var(--nt-primary); }
.feature-icon-wrap.sage { background: rgba(135,169,107,0.12); color: var(--nt-secondary); }
.feature-icon-wrap.amber { background: rgba(245,158,11,0.1); color: #d97706; }
.feature-icon-wrap i { font-size: 1.6rem; }
.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--nt-dark);
    margin-bottom: 0.75rem;
}
.feature-card p {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.75;
    margin: 0;
}

/* Favorites/Menu Section */
.favorites-section {
    padding: 5rem 0;
    background: white;
}
.menu-card {
    background: white;
    border-radius: 14px;
    border: 1px solid var(--nt-border);
    overflow: hidden;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}
.menu-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.menu-card-img {
    height: 180px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}
.menu-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 40%, rgba(0,0,0,0.45));
}
.menu-card-img.drink { background: linear-gradient(135deg, #4a9d8f, #2D5A27); }
.menu-card-img.food { background: linear-gradient(135deg, #8B6914, #c4952a); }
.menu-card-img.sweet { background: linear-gradient(135deg, #9B4B7C, #C67DA3); }
.menu-card-img.special { background: linear-gradient(135deg, var(--nt-primary), #3a7a30); }
.menu-card-img .cat-badge {
    position: absolute;
    bottom: 0.75rem;
    left: 0.75rem;
    z-index: 1;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.25em 0.65em;
    border-radius: 6px;
    letter-spacing: 0.3px;
}
.menu-card-img i {
    z-index: 1;
}
.menu-card-body {
    padding: 1.25rem;
}
.menu-card-body h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--nt-slate);
    margin-bottom: 0.4rem;
    line-height: 1.3;
}
.menu-card-body p {
    font-size: 0.84rem;
    color: #6b7280;
    margin-bottom: 0.75rem;
    min-height: 40px;
    line-height: 1.6;
}
.menu-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.menu-price {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--nt-primary);
    font-family: var(--nt-font-heading);
}
.menu-avail-badge {
    font-size: 0.72rem;
    padding: 0.25em 0.75em;
    border-radius: 50px;
    font-weight: 600;
}
.menu-avail-badge.available {
    background: rgba(45,90,39,0.1);
    color: var(--nt-primary);
    border: 1px solid rgba(45,90,39,0.2);
}
.menu-avail-badge.unavailable {
    background: rgba(107,114,128,0.1);
    color: #6b7280;
    border: 1px solid rgba(107,114,128,0.2);
}

/* Gallery Section */
.gallery-section {
    padding: 5rem 0;
    background: var(--nt-cream);
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1/1;
    cursor: pointer;
    position: relative;
    transition: var(--transition-base);
}
.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
}
.gallery-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.2);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1;
}
.gallery-item:hover::before {
    opacity: 1;
}
.gallery-item:nth-child(1) { background: linear-gradient(145deg, #1B3817, #2D5A27); }
.gallery-item:nth-child(2) { background: linear-gradient(145deg, #87A96B, #3d7035); }
.gallery-item:nth-child(3) { background: linear-gradient(145deg, #2D5A27, #4a8a40); }
.gallery-item:nth-child(4) { background: linear-gradient(145deg, #3d7035, #87A96B); }
.gallery-item:nth-child(5) { background: linear-gradient(145deg, #1B3817, #4a8a40); }
.gallery-item:nth-child(6) { background: linear-gradient(145deg, #4a8a40, #2D5A27); }

.gallery-item-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.5rem;
    color: white;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
    padding: 1rem;
}
.gallery-item-content i {
    font-size: 2rem;
    opacity: 0.9;
}
.gallery-item-content span {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-align: center;
}

/* Hero Logo Image */
.hero-logo-img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.85);
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    transition: transform 0.3s ease;
}
.hero-logo-img:hover {
    transform: scale(1.05) rotate(2deg);
}

/* Gallery Photo Styling */
.gallery-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery-item:hover .gallery-photo-img {
    transform: scale(1.08);
}
.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(18, 36, 15, 0.85) 0%, rgba(18, 36, 15, 0.2) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.25rem;
    color: white;
    z-index: 2;
    transition: background 0.3s ease;
}
.gallery-item:hover .gallery-item-overlay {
    background: linear-gradient(to top, rgba(18, 36, 15, 0.95) 0%, rgba(18, 36, 15, 0.4) 60%, rgba(0, 0, 0, 0.2) 100%);
}
.gallery-overlay-badge {
    align-self: flex-start;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(135, 169, 107, 0.9);
    color: #12240f;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    margin-bottom: 0.35rem;
}
.gallery-overlay-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.gallery-overlay-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.25s ease;
}
.gallery-item:hover .gallery-overlay-icon {
    opacity: 1;
    transform: scale(1);
}
.gallery-tag-pill {
    font-size: 0.7rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.15rem 0.5rem;
    border-radius: 12px;
    backdrop-filter: blur(4px);
    margin-top: 0.25rem;
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background: linear-gradient(160deg, #0f2110 0%, var(--nt-dark) 50%, #1e3d1a 100%);
    color: white;
}
.contact-map iframe {
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}
.contact-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
    padding: 2.25rem;
    backdrop-filter: blur(8px);
}
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
}
.contact-icon {
    width: 44px;
    height: 44px;
    background: rgba(135,169,107,0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--nt-secondary);
    font-size: 1.2rem;
    border: 1px solid rgba(135,169,107,0.2);
}
.contact-info-item h6 {
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.contact-info-item p, .contact-info-item a {
    color: rgba(255,255,255,0.65);
    font-size: 0.92rem;
    margin: 0;
}
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    color: white;
    font-size: 1.1rem;
    transition: var(--transition-fast);
}
.social-links a:hover {
    background: rgba(135,169,107,0.3);
    border-color: rgba(135,169,107,0.5);
    color: var(--nt-secondary);
}

/* Dashboard */
.kpi-card {
    padding: 1.5rem;
    border-radius: 14px;
    background: white;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid;
    margin-bottom: 1.5rem;
    transition: var(--transition-base);
}
.kpi-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.kpi-card.sales { border-left-color: var(--nt-primary); }
.kpi-card.revenue { border-left-color: var(--nt-secondary); }
.kpi-card.orders { border-left-color: #f59e0b; }
.kpi-card.items { border-left-color: #3b82f6; }
.kpi-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}
.kpi-card.sales .kpi-icon { background: rgba(45,90,39,0.1); color: var(--nt-primary); }
.kpi-card.revenue .kpi-icon { background: rgba(135,169,107,0.12); color: var(--nt-secondary); }
.kpi-card.orders .kpi-icon { background: rgba(245,158,11,0.1); color: #d97706; }
.kpi-card.items .kpi-icon { background: rgba(59,130,246,0.1); color: #3b82f6; }
.kpi-value {
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--nt-dark);
    font-family: var(--nt-font-heading);
    line-height: 1;
}
.kpi-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #6b7280;
    font-weight: 600;
    margin-top: 0.25rem;
}

/* Tables */
.table-garden {
    width: 100%;
    margin-bottom: 1rem;
    background: white;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.table-garden thead th {
    background: linear-gradient(to right, var(--nt-dark), var(--nt-primary));
    color: rgba(255,255,255,0.9);
    padding: 0.875rem 1rem;
    font-weight: 600;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
}
.table-garden tbody td {
    padding: 0.875rem 1rem;
    border-bottom: 1px solid var(--nt-border);
    vertical-align: middle;
}
.table-garden tbody tr:last-child td {
    border-bottom: none;
}
.table-garden tbody tr:hover {
    background: rgba(135,169,107,0.05);
}

/* Forms & Modals */
.form-label {
    font-weight: 500;
    font-size: 0.87rem;
    color: var(--nt-slate);
}
.form-control:focus, .form-select:focus {
    border-color: var(--nt-secondary);
    box-shadow: 0 0 0 0.25rem rgba(135,169,107,0.25);
}
.modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
.modal-header {
    background: linear-gradient(to right, var(--nt-dark), var(--nt-primary));
    color: white;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}
.modal-header .btn-close {
    filter: invert(1);
}

/* Login Page */
.login-page {
    min-height: calc(100vh - 72px);
    display: flex;
}
.login-left-panel {
    flex: 1 1 50%;
    background: linear-gradient(155deg, #0f2110, var(--nt-dark) 50%, var(--nt-primary));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    color: white;
    padding: 3rem 2rem;
}
.login-left-panel .login-brand-icon {
    font-size: 5rem;
    color: rgba(135,169,107,0.8);
    margin-bottom: 1.5rem;
}
.login-left-panel h2 {
    font-family: var(--nt-font-heading);
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
}
.login-left-panel p {
    color: rgba(250,248,245,0.7);
    font-size: 0.95rem;
    max-width: 320px;
    line-height: 1.7;
}
.login-right-panel {
    flex: 1 1 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--nt-cream);
    padding: 2rem;
}
.login-card {
    width: 100%;
    max-width: 420px;
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 8px 40px rgba(0,0,0,0.1);
}
.login-card .login-icon {
    text-align: center;
    margin-bottom: 1.5rem;
}
.login-card .login-icon i {
    font-size: 3rem;
    color: var(--nt-primary);
}
.login-card h4 {
    font-family: var(--nt-font-heading);
    font-size: 1.6rem;
    color: var(--nt-dark);
    text-align: center;
    margin-bottom: 0.5rem;
}
.login-card .login-sub {
    text-align: center;
    color: #6b7280;
    font-size: 0.88rem;
    margin-bottom: 1.75rem;
}
@media (max-width: 767.98px) {
    .login-left-panel { display: none; }
}

/* Footer */
.footer-garden {
    background: linear-gradient(180deg, #1B3817 0%, #0f1f0d 100%);
    border-top: 3px solid var(--nt-primary);
    color: rgba(255,255,255,0.75);
    padding-top: 3rem;
    padding-bottom: 1.5rem;
}
.footer-garden h5, .footer-garden .footer-brand {
    font-family: var(--nt-font-heading);
    color: rgba(255,255,255,0.95);
}
.footer-garden a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: var(--transition-fast);
}
.footer-garden a:hover {
    color: var(--nt-secondary) !important;
}
.footer-divider {
    border-color: rgba(255,255,255,0.1);
}
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.08);
    border-radius: 8px;
    color: rgba(255,255,255,0.7);
    transition: var(--transition-fast);
}
.footer-social a:hover {
    background: rgba(135,169,107,0.3);
    color: var(--nt-secondary);
}
.footer-bottom {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.4);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 1.25rem;
    margin-top: 2rem;
}

/* POS System - CRITICAL */
.pos-wrapper {
    height: 100%;
    max-height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}
.pos-container {
    flex: 1 1 auto;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    min-height: 0;
    height: 100%;
    max-height: 100%;
}
.pos-left-panel {
    flex: 0 0 58%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
    height: 100%;
    background-color: var(--nt-cream);
    border-right: 1px solid var(--nt-border);
}
.pos-left-header {
    flex: 0 0 auto;
    padding: 0.65rem 1rem;
    border-bottom: 1px solid var(--nt-border);
    background: white;
}
.pos-left-filters {
    flex: 0 0 auto;
    padding: 0.5rem 1rem;
    background: white;
    border-bottom: 1px solid var(--nt-border);
}
.pos-left-scroll {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 0.85rem 1rem;
    min-height: 0;
}
.pos-right-panel {
    flex: 0 0 42%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
    height: 100%;
    background-color: var(--nt-white);
}
.pos-right-header {
    flex: 0 0 auto;
    padding: 0.65rem 1rem;
    border-bottom: 1px solid var(--nt-border);
    background: white;
}
.pos-cart-scroll {
    flex: 1 1 auto;
    overflow-y: auto;
    min-height: 60px;
    padding: 0.45rem 0.85rem;
}
.pos-right-footer {
    flex: 0 0 auto;
    border-top: 2px solid var(--nt-border);
    background: white;
    overflow: visible;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.03);
    position: relative;
    z-index: 5;
}
.pos-item-card {
    cursor: pointer;
    background: white;
    border: 1px solid var(--nt-border);
    border-radius: 10px;
    padding: 0.875rem 0.75rem;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: var(--transition-fast);
}
.pos-item-card:hover {
    border-color: var(--nt-secondary);
    background: rgba(135,169,107,0.04);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(135,169,107,0.15);
}
.pos-item-card .item-name {
    font-weight: 600;
    font-size: 0.82rem;
    color: var(--nt-slate);
    line-height: 1.3;
    margin-bottom: 0.4rem;
}
.pos-item-card .item-price {
    color: var(--nt-primary);
    font-weight: 700;
    font-size: 0.95rem;
}
.pos-item-card .item-badge {
    font-size: 0.65rem;
    margin-top: 0.35rem;
}
.pos-cart-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 0;
    border-bottom: 1px solid var(--nt-border);
}
.pos-cart-item:last-child { border-bottom: none; }
.pos-cart-item-name {
    flex: 1;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--nt-slate);
}
.pos-cart-item-price {
    font-size: 0.8rem;
    color: #6b7280;
}
.pos-qty-controls {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.pos-qty-btn {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    border: 1px solid var(--nt-border);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--nt-slate);
    transition: var(--transition-fast);
}
.pos-qty-btn:hover {
    background: var(--nt-primary);
    color: white;
    border-color: var(--nt-primary);
}
.pos-qty-display {
    width: 28px;
    text-align: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--nt-slate);
}
.pos-item-total {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--nt-primary);
    min-width: 60px;
    text-align: right;
}
.pos-remove-btn {
    background: none;
    border: none;
    color: #dc3545;
    font-size: 1rem;
    cursor: pointer;
    padding: 0 0.25rem;
    opacity: 0.6;
    transition: opacity 0.2s;
}
.pos-remove-btn:hover { opacity: 1; }
.pos-totals-area { padding: 0.45rem 1rem 0.25rem; }
.pos-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    color: #6b7280;
    margin-bottom: 0.18rem;
}
.pos-total-row.grand {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--nt-dark);
    border-top: 1px dashed var(--nt-border);
    padding-top: 0.35rem;
    margin-top: 0.2rem;
}
.pos-grand-total-label { font-family: var(--nt-font-heading); }
.pos-payment-area {
    padding: 0.35rem 1rem;
    border-top: 1px solid var(--nt-border);
    background: rgba(250,248,245,0.85);
}
.pos-payment-area label.fw-bold {
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6b7280;
}
.pos-action-area {
    padding: 0.45rem 1rem 0.55rem;
    border-top: 1px solid var(--nt-border);
    background: #ffffff;
}
#checkoutBtn {
    font-size: 0.92rem;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 6px rgba(27, 56, 23, 0.22);
    transition: all 0.2s ease;
}
#checkoutBtn:not(:disabled):hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(27, 56, 23, 0.32);
}
#clearCartBtn {
    transition: all 0.2s ease;
}
#clearCartBtn:hover {
    background-color: #dc3545;
    color: #ffffff;
}

/* Utilities */
.text-primary-garden, .text-nt-primary { color: var(--nt-primary) !important; }
.text-secondary-garden { color: var(--nt-secondary) !important; }
.text-nt-dark { color: var(--nt-dark) !important; }
.bg-primary-garden, .bg-nt-primary { background-color: var(--nt-primary) !important; color: white !important; }
.bg-cream { background-color: var(--nt-cream) !important; }
.font-heading { font-family: var(--nt-font-heading) !important; }
.rounded-xl { border-radius: 16px !important; }
.badge-available {
    background: var(--nt-secondary);
    color: white;
    padding: 0.35em 0.7em;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.78rem;
}
.badge-unavailable {
    background: #6c757d;
    color: white;
    padding: 0.35em 0.7em;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.78rem;
}

/* Print Styles */
@media print {
    .navbar, .footer-garden, .btn, .no-print, .app-sidebar, .sidebar-backdrop, .app-topbar, .pos-focus-exit-bar, .pos-wrapper, .pos-mobile-floating-cart, .app-staff-footer, .modal-backdrop, .swal2-container { display: none !important; }
    html, body, body.is-pos-page, .app-layout, .app-main-content, .app-content-body { background: white !important; color: black !important; height: auto !important; max-height: none !important; overflow: visible !important; margin: 0 !important; padding: 0 !important; width: 100% !important; display: block !important; position: static !important; }
    .receipt-print-area { width: 300px; margin: 0 auto; font-family: monospace; }
}

/* ==========================================================================
   STAFF PORTAL - COLLAPSIBLE SIDEBAR & RESPONSIVE LAYOUT
   ========================================================================== */
.app-layout {
    display: flex;
    min-height: 100vh;
    background-color: var(--nt-cream);
    position: relative;
    width: 100%;
}

/* Sidebar Shell */
.app-sidebar {
    width: var(--nt-sidebar-width);
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    height: 100vh;
    background: linear-gradient(180deg, #132511 0%, #1B3817 100%);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    z-index: 1040;
    transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 2px 0 16px rgba(0, 0, 0, 0.15);
    overflow: visible;
}

/* Sidebar Brand Header */
.sidebar-brand-wrap {
    height: var(--nt-topbar-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}
.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #ffffff !important;
    text-decoration: none;
    overflow: hidden;
    white-space: nowrap;
}
.sidebar-brand-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(135, 169, 107, 0.25);
    color: var(--nt-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    border: 1px solid rgba(135, 169, 107, 0.35);
}
.sidebar-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    transition: opacity 0.2s ease;
}
.brand-title {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #ffffff;
}
.brand-subtitle {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--nt-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.sidebar-toggle-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.15rem;
    cursor: pointer;
    padding: 0.35rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.sidebar-toggle-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}
.sidebar-close-mobile-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
}

/* Sidebar Navigation Items */
.sidebar-nav {
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1.25rem 0.75rem;
}
.sidebar-heading {
    font-size: 0.68rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.4);
    padding: 0 0.75rem 0.6rem;
    white-space: nowrap;
}
.sidebar-menu {
    gap: 0.35rem;
}
.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.7rem 0.85rem;
    color: rgba(255, 255, 255, 0.75) !important;
    font-weight: 500;
    font-size: 0.92rem;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.sidebar-link i {
    font-size: 1.2rem;
    width: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.2s ease;
}
.sidebar-link:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.08);
}
.sidebar-link:hover i {
    color: var(--nt-secondary);
}
.sidebar-link.active {
    color: #ffffff !important;
    background: var(--nt-primary);
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.sidebar-link.active i {
    color: #ffffff;
}

/* Sidebar Footer / User Section */
.sidebar-footer {
    padding: 1rem 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
    position: relative;
    overflow: visible !important;
}
.user-profile-dropup {
    position: relative;
    overflow: visible !important;
}
.user-profile-dropup .dropdown-menu {
    position: absolute !important;
    bottom: 100% !important;
    top: auto !important;
    left: 0 !important;
    right: auto !important;
    transform: none !important;
    min-width: 230px !important;
    width: 100% !important;
    margin-bottom: 0.6rem !important;
    z-index: 1070 !important;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35) !important;
    border-radius: 12px !important;
}
.sidebar-user-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
    margin-bottom: 0.5rem;
}
.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.1rem;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.user-meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.2;
}
.user-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
}
.user-badge {
    font-size: 0.62rem;
    width: fit-content;
    margin-top: 0.2rem;
    letter-spacing: 0.5px;
    padding: 0.2em 0.6em;
}
.sidebar-logout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem;
    border-radius: 8px;
    background: rgba(220, 53, 69, 0.15);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #ff8b94 !important;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.sidebar-logout-btn:hover {
    background: #dc3545;
    color: #ffffff !important;
    border-color: #dc3545;
}

/* App Main Content Area */
.app-main-content {
    flex: 1 1 auto;
    margin-left: var(--nt-sidebar-width);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: margin-left 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: var(--nt-cream);
    width: calc(100% - var(--nt-sidebar-width));
}
.app-topbar {
    height: var(--nt-topbar-height);
    background: #ffffff;
    border-bottom: 1px solid var(--nt-border);
    padding: 0 1.5rem;
    position: sticky;
    top: 0;
    z-index: 1020;
    box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}
.btn-outline-garden-dark {
    color: var(--nt-dark);
    border-color: var(--nt-border);
    background: #ffffff;
}
.btn-outline-garden-dark:hover {
    background: var(--nt-cream);
    color: var(--nt-primary);
    border-color: var(--nt-secondary);
}
.app-content-body {
    padding: 1.5rem;
    flex: 1;
}

/* Desktop Collapsed Sidebar State */
body.sidebar-collapsed .app-sidebar {
    width: var(--nt-sidebar-collapsed-width);
}
body.sidebar-collapsed .app-main-content {
    margin-left: var(--nt-sidebar-collapsed-width);
    width: calc(100% - var(--nt-sidebar-collapsed-width));
}
body.sidebar-collapsed .sidebar-brand-text,
body.sidebar-collapsed .link-text,
body.sidebar-collapsed .sidebar-heading,
body.sidebar-collapsed .user-meta,
body.sidebar-collapsed .logout-text {
    display: none !important;
}
body.sidebar-collapsed .sidebar-brand-wrap {
    justify-content: center;
    padding: 0;
}
body.sidebar-collapsed .sidebar-toggle-btn {
    display: none !important;
}
body.sidebar-collapsed .sidebar-link {
    justify-content: center;
    padding: 0.75rem 0;
}
body.sidebar-collapsed .sidebar-user-card {
    justify-content: center;
    padding: 0.5rem 0;
}
body.sidebar-collapsed .sidebar-logout-btn {
    padding: 0.6rem 0;
}
body.sidebar-collapsed .user-profile-dropup .dropdown-menu {
    position: fixed !important;
    bottom: 12px !important;
    left: calc(var(--nt-sidebar-collapsed-width, 72px) + 8px) !important;
    top: auto !important;
    right: auto !important;
    transform: none !important;
    min-width: 240px !important;
    width: auto !important;
    margin: 0 !important;
    z-index: 1070 !important;
    box-shadow: 4px 8px 30px rgba(0, 0, 0, 0.35) !important;
    border-radius: 12px !important;
}

/* Interactive KPI Cards (Dashboard Enhancement) */
.kpi-card-interactive {
    cursor: pointer;
    background: #ffffff;
    border: 1px solid var(--nt-border);
    border-radius: 14px;
    padding: 1.35rem 1.25rem 1rem;
    position: relative;
    overflow: hidden;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    text-decoration: none !important;
}
.kpi-card-interactive:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--nt-secondary);
}
.kpi-card-interactive.sales { border-top: 4px solid var(--nt-primary); }
.kpi-card-interactive.revenue { border-top: 4px solid #0d6efd; }
.kpi-card-interactive.orders { border-top: 4px solid #fd7e14; }
.kpi-card-interactive.items { border-top: 4px solid #6f42c1; }

.kpi-card-interactive .kpi-view-badge {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--nt-primary);
    margin-top: 1rem;
    padding-top: 0.65rem;
    border-top: 1px dashed var(--nt-border);
    transition: color 0.2s ease;
}
.kpi-card-interactive:hover .kpi-view-badge {
    color: var(--nt-dark);
}

/* Menu Item & POS Item Thumbnails */
.menu-item-thumb {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--nt-border);
}
.menu-item-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: rgba(135, 169, 107, 0.15);
    color: var(--nt-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}
.pos-item-img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}
.pos-item-placeholder {
    width: 100%;
    height: 80px;
    border-radius: 8px;
    background: rgba(135, 169, 107, 0.12);
    color: var(--nt-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

/* Category Pills & Filters - Wrapped Layout (No Horizontal Scroll) */
.pos-category-pills-wrap {
    overflow: visible !important;
    margin-bottom: 0.45rem;
    padding-bottom: 0 !important;
}
.pos-category-pills-wrap .nav {
    display: flex !important;
    flex-wrap: wrap !important;
    white-space: normal !important;
    gap: 0.35rem 0.4rem !important;
}
.pos-category-pills-wrap .nav-item {
    flex: 0 1 auto !important;
}
.pos-category-pills-wrap .nav-link {
    padding: 0.28rem 0.65rem !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    border-radius: 20px !important;
    white-space: nowrap !important;
    line-height: 1.25 !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.pos-category-pills-wrap .nav-link.active {
    background-color: var(--nt-primary) !important;
    border-color: var(--nt-primary) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 6px rgba(27, 56, 23, 0.25);
}
.pos-category-pills-wrap .nav-link:not(.active) {
    background-color: #ffffff;
    border: 1px solid var(--nt-border);
    color: var(--nt-dark);
}
.pos-category-pills-wrap .nav-link:not(.active):hover {
    border-color: var(--nt-primary);
    color: var(--nt-primary);
    background-color: rgba(135, 169, 107, 0.08);
}

/* Public Menu Filter Touch-Scroll on Mobile */
.menu-filter-scroll-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 6px 4px 12px;
    margin-bottom: 1.5rem;
}
.menu-filter-scroll-wrap::-webkit-scrollbar {
    display: none;
}
.menu-filter-container {
    display: flex;
    gap: 0.5rem;
    white-space: nowrap;
    justify-content: flex-start;
}
@media (min-width: 768px) {
    .menu-filter-container {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* POS Floating Quick Cart Bar (Mobile) */
.pos-mobile-floating-cart {
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #132511 0%, #2D5A27 100%);
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    z-index: 1045;
    animation: slideUpFloat 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid rgba(135, 169, 107, 0.35);
}
@keyframes slideUpFloat {
    from { transform: translateY(80px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.pos-mobile-floating-cart:hover {
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
    border-color: var(--nt-secondary);
}

/* ==========================================================================
   POS FOCUS MODE / FULLSCREEN STYLES
   ========================================================================== */
.pos-focus-exit-bar {
    display: none;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(to right, #12240f, #2D5A27);
    color: #ffffff;
    padding: 0.45rem 1.25rem;
    font-size: 0.85rem;
    flex-shrink: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 1030;
}
.pos-focus-exit-bar .badge-focus {
    background: rgba(135, 169, 107, 0.25);
    color: var(--nt-secondary);
    border: 1px solid rgba(135, 169, 107, 0.4);
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
}

body.pos-focus-active .pos-focus-exit-bar {
    display: flex !important;
}
body.pos-focus-active .app-sidebar,
body.pos-focus-active .sidebar-backdrop,
body.pos-focus-active .app-topbar,
body.pos-focus-active .app-staff-footer {
    display: none !important;
}
body.pos-focus-active .app-main-content {
    margin-left: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    min-height: 100vh !important;
}
body.pos-focus-active .app-content-body {
    padding: 0 !important;
}
body.pos-focus-active .pos-wrapper {
    height: 100vh !important;
    max-height: 100vh !important;
}

/* In Focus Mode on tablets and desktop (width >= 768px), enable split layout! */
@media (min-width: 768px) {
    body.pos-focus-active .pos-container {
        flex-direction: row !important;
        height: calc(100vh - 46px) !important;
    }
    body.pos-focus-active .pos-left-panel {
        flex: 0 0 58% !important;
        max-width: 58% !important;
        display: flex !important;
        border-right: 1px solid var(--nt-border) !important;
    }
    body.pos-focus-active .pos-right-panel {
        flex: 0 0 42% !important;
        max-width: 42% !important;
        display: flex !important;
    }
    body.pos-focus-active .pos-mobile-nav {
        display: none !important;
    }
    body.pos-focus-active .pos-mobile-floating-cart {
        display: none !important;
    }
}

/* In Focus Mode on mobile phones (< 768px), provide clean full-width experience! */
@media (max-width: 767.98px) {
    body.pos-focus-active .pos-wrapper {
        height: auto !important;
        max-height: none !important;
        min-height: 100vh !important;
        overflow: visible !important;
    }
    body.pos-focus-active .pos-container {
        flex-direction: column !important;
        height: auto !important;
        overflow: visible !important;
    }
    body.pos-focus-active .pos-left-panel,
    body.pos-focus-active .pos-right-panel {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-height: unset !important;
        border-right: none !important;
    }
    body.pos-focus-active .pos-left-scroll,
    body.pos-focus-active .pos-cart-scroll {
        max-height: none !important;
        overflow-y: visible !important;
    }
    body.pos-focus-active .pos-right-footer {
        position: sticky !important;
        bottom: 0 !important;
        z-index: 20 !important;
        box-shadow: 0 -4px 16px rgba(0,0,0,0.08) !important;
        background: #ffffff !important;
    }
    body.pos-focus-active #btnMobileFocusMode {
        display: none !important;
    }
    body.pos-focus-active .pos-focus-exit-bar {
        padding: 0.4rem 0.75rem !important;
    }
    body.pos-focus-active .pos-focus-exit-bar .badge-focus,
    body.pos-focus-active .pos-focus-exit-bar #posFocusClock {
        display: none !important;
    }
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVENESS (< 992px)
   ========================================================================== */
@media (max-width: 991.98px) {
    .app-sidebar {
        transform: translateX(-100%);
        width: 270px;
        z-index: 1060;
    }
    .app-sidebar.show-mobile {
        transform: translateX(0);
    }
    .app-main-content,
    body.sidebar-collapsed .app-main-content {
        margin-left: 0 !important;
        width: 100% !important;
    }
    body.sidebar-mobile-open {
        overflow: hidden !important;
    }
    .sidebar-backdrop {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(2px);
        z-index: 1050;
        opacity: 0;
        transition: opacity 0.25s ease;
    }
    .sidebar-backdrop.show {
        display: block;
        opacity: 1;
    }
    .app-topbar {
        padding: 0 1rem;
    }
    .app-content-body {
        padding: 1rem;
    }

    /* POS Fluid Mobile/Tablet Layout (Normal Mode) */
    body:not(.pos-focus-active) .pos-wrapper { height: auto; min-height: calc(100vh - var(--nt-topbar-height)); }
    body:not(.pos-focus-active) .pos-container { flex-direction: column; height: auto; }
    body:not(.pos-focus-active) .pos-left-panel,
    body:not(.pos-focus-active) .pos-right-panel {
        flex: 0 0 100%;
        max-width: 100%;
        height: auto;
        min-height: unset;
    }
    .pos-left-scroll { max-height: 55vh; overflow-y: auto; }
    .pos-cart-scroll { max-height: 40vh; overflow-y: auto; }
    .pos-right-footer { max-height: unset; position: sticky; bottom: 0; z-index: 10; box-shadow: 0 -4px 16px rgba(0,0,0,0.06); }
    .login-left-panel { display: none; }
}

@media (max-width: 767.98px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
    .hero-title { font-size: 2.2rem; }
    .section-title { font-size: 1.75rem; }
    .kpi-card-interactive { padding: 1.15rem 1rem 0.85rem; }
    .table-garden td, .table-garden th { padding: 0.65rem 0.75rem; }
    .hero-section { min-height: 80vh; }
    .btn-hero-primary, .btn-hero-fb, .btn-hero-outline {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 575.98px) {
    .gallery-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 1.85rem; }
    .hero-section { min-height: 75vh; }
    .app-content-body { padding: 0.75rem; }
    .hero-eyebrow { font-size: 0.75rem; padding: 0.35rem 0.9rem; }
    .pos-left-header, .pos-right-header { padding: 0.75rem 1rem; }
    .pos-totals-area { padding: 0.75rem 1rem 0.5rem; }
    .pos-payment-area { padding: 0.65rem 1rem; }
    .pos-action-area { padding: 0.65rem 1rem; }
}

/* ==========================================================================
   POLISHED ANIMATION SUITE & MICRO-INTERACTIONS
   ========================================================================== */

/* Hero Botanical Floating Animation */
.hero-bg-decor {
    animation: floatBotanicalDecor 8s ease-in-out infinite alternate;
}
@keyframes floatBotanicalDecor {
    0% { transform: translateY(0) rotate(0deg); opacity: 0.08; }
    50% { transform: translateY(-16px) rotate(4deg); opacity: 0.12; }
    100% { transform: translateY(8px) rotate(-3deg); opacity: 0.09; }
}

/* Hero Circular Logo Interactive Bounce */
.hero-logo-img {
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
}
.hero-logo-img:hover {
    transform: scale(1.08) rotate(4deg);
    box-shadow: 0 10px 25px rgba(45, 90, 39, 0.35) !important;
}

/* Eyebrow Subtle Pulse */
.hero-eyebrow {
    animation: pulseEyebrow 3.5s ease-in-out infinite;
}
@keyframes pulseEyebrow {
    0%, 100% { box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
    50% { box-shadow: 0 4px 18px rgba(135, 169, 107, 0.45); }
}

/* Menu & Feature Cards Smooth Hover Lift & Zoom */
.menu-card, .feature-card {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease !important;
}
.menu-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(45, 90, 39, 0.12) !important;
    border-color: rgba(135, 169, 107, 0.5) !important;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.08) !important;
}
.menu-card-img-wrap img {
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.menu-card:hover .menu-card-img-wrap img {
    transform: scale(1.06);
}

/* Interactive Filter Pills Transition */
.filter-btn {
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.filter-btn:hover {
    transform: translateY(-2px);
}
.filter-btn.active {
    transform: scale(1.04);
}

/* POS Item Card Tactile Micro-Interactions */
.pos-item-card {
    transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.18s ease, border-color 0.18s ease !important;
    cursor: pointer;
    user-select: none;
}
.pos-item-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(45, 90, 39, 0.15) !important;
    border-color: #87A96B !important;
}
.pos-item-card:active {
    transform: scale(0.95) !important;
}

/* POS Cart Badge Bounce on Count Increase */
@keyframes badgeBounceScale {
    0% { transform: scale(1); }
    35% { transform: scale(1.4); }
    65% { transform: scale(0.9); }
    100% { transform: scale(1); }
}
.badge-bounce {
    animation: badgeBounceScale 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

/* Cart Row Entrance Animation */
.pos-cart-item {
    animation: cartItemSlideIn 0.24s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes cartItemSlideIn {
    from {
        opacity: 0;
        transform: translateX(16px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* General Entrance Animations */
.animate-fade-in {
    animation: globalFadeIn 0.35s ease forwards;
}
.animate-slide-up {
    animation: globalSlideUp 0.38s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes globalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes globalSlideUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   MOBILE CARD TRANSFORMATION FOR ADMIN TABLES (< 768px)
   ========================================================================== */
@media (max-width: 767.98px) {
    /* Topbar and Content Padding Fixes */
    .app-topbar {
        padding: 0 0.75rem !important;
        height: 54px !important;
    }
    .topbar-page-title {
        max-width: 140px !important;
        font-size: 0.88rem !important;
    }
    #topbarLiveClock {
        padding: 0.32rem 0.5rem !important;
        font-size: 0.74rem !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }
    .app-content-body {
        padding: 0.75rem 0.65rem !important;
    }

    /* Outer Wrapper Reset: Removes awkward nested card container */
    .mobile-card-wrapper,
    .card:has(#menuTable),
    .card:has(#staffTable) {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }
    .mobile-card-wrapper > .card-body,
    .card:has(#menuTable) > .card-body,
    .card:has(#staffTable) > .card-body {
        padding: 0 !important;
        background: transparent !important;
    }
    .mobile-card-wrapper .table-responsive,
    .card:has(#menuTable) .table-responsive,
    .card:has(#staffTable) .table-responsive {
        overflow: visible !important;
        padding: 0 !important;
    }

    /* Kill ALL default Bootstrap table cell borders cutting through card content */
    #menuTable,
    #menuTable > :not(caption) > * > *,
    #menuTable td,
    #menuTable th,
    #staffTable,
    #staffTable > :not(caption) > * > *,
    #staffTable td,
    #staffTable th,
    #auditTable,
    #auditTable > :not(caption) > * > *,
    #auditTable td,
    #auditTable th,
    #posLogsTable,
    #posLogsTable > :not(caption) > * > *,
    #posLogsTable td,
    #posLogsTable th {
        border: none !important;
        border-bottom: none !important;
        border-top: none !important;
        box-shadow: none !important;
        background-color: transparent !important;
    }

    /* --------------------------------------------------------------------------
       Menu Management Mobile Cards
       -------------------------------------------------------------------------- */
    #menuTable {
        display: block !important;
        width: 100% !important;
    }
    #menuTable thead {
        display: none !important;
    }
    #menuTable tbody#menuTableBody {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.75rem !important;
        padding: 0 !important;
        width: 100% !important;
    }
    #menuTable tbody#menuTableBody tr.menu-row {
        display: grid !important;
        grid-template-columns: 58px 1fr 85px !important;
        grid-template-rows: auto auto auto !important;
        gap: 0.35rem 0.65rem !important;
        background: #ffffff !important;
        border: 1px solid #E2E8F0 !important;
        border-radius: 14px !important;
        padding: 0.85rem !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
        margin-bottom: 0 !important;
        align-items: center !important;
        width: 100% !important;
        box-sizing: border-box !important;
        position: relative !important;
        transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    }
    #menuTable tbody#menuTableBody tr.menu-row:hover {
        box-shadow: 0 6px 16px rgba(45, 90, 39, 0.08) !important;
    }
    #menuTable tbody#menuTableBody tr.menu-row .menu-td-num {
        display: none !important;
    }
    #menuTable tbody#menuTableBody tr.menu-row .menu-td-photo {
        grid-column: 1 !important;
        grid-row: 1 / span 2 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: flex-start !important;
        justify-content: center !important;
    }
    #menuTable tbody#menuTableBody tr.menu-row .menu-td-photo .menu-item-thumb,
    #menuTable tbody#menuTableBody tr.menu-row .menu-td-photo .menu-item-placeholder {
        width: 58px !important;
        height: 58px !important;
        border-radius: 10px !important;
        object-fit: cover !important;
        flex-shrink: 0 !important;
    }
    #menuTable tbody#menuTableBody tr.menu-row .menu-td-photo .menu-item-placeholder {
        background: rgba(135, 169, 107, 0.12) !important;
        color: var(--nt-primary) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 1.4rem !important;
    }
    #menuTable tbody#menuTableBody tr.menu-row .menu-td-name {
        grid-column: 2 !important;
        grid-row: 1 !important;
        padding: 0 !important;
        min-width: 0 !important;
    }
    #menuTable tbody#menuTableBody tr.menu-row .menu-td-name .fw-bold {
        font-size: 0.92rem !important;
        line-height: 1.25 !important;
        margin-bottom: 2px !important;
        color: #1A3516 !important;
        word-break: break-word !important;
    }
    #menuTable tbody#menuTableBody tr.menu-row .menu-td-name small {
        font-size: 0.74rem !important;
        color: #64748B !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: normal !important;
        max-width: 100% !important;
        line-height: 1.2 !important;
    }
    #menuTable tbody#menuTableBody tr.menu-row .menu-td-price {
        grid-column: 3 !important;
        grid-row: 1 !important;
        padding: 0 !important;
        text-align: right !important;
        font-size: 1.05rem !important;
        font-weight: 800 !important;
        color: var(--nt-primary) !important;
        align-self: flex-start !important;
        white-space: nowrap !important;
    }
    #menuTable tbody#menuTableBody tr.menu-row .menu-td-cat {
        grid-column: 2 / span 2 !important;
        grid-row: 2 !important;
        padding: 0 !important;
    }
    #menuTable tbody#menuTableBody tr.menu-row .menu-td-cat .badge {
        font-size: 0.7rem !important;
        padding: 0.25em 0.55em !important;
        font-weight: 600 !important;
        background: rgba(135, 169, 107, 0.12) !important;
        color: var(--nt-primary) !important;
        border: 1px solid rgba(135, 169, 107, 0.25) !important;
        border-radius: 6px !important;
    }
    #menuTable tbody#menuTableBody tr.menu-row .menu-td-status {
        grid-column: 1 / span 2 !important;
        grid-row: 3 !important;
        padding: 0.6rem 0 0 !important;
        margin-top: 0.35rem !important;
        border-top: 1px solid #F1F5F9 !important;
        display: flex !important;
        align-items: center !important;
    }
    #menuTable tbody#menuTableBody tr.menu-row .menu-td-actions {
        grid-column: 3 !important;
        grid-row: 3 !important;
        padding: 0.6rem 0 0 !important;
        margin-top: 0.35rem !important;
        border-top: 1px solid #F1F5F9 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 0.35rem !important;
        white-space: nowrap !important;
    }
    #menuTable tbody#menuTableBody tr.menu-row .menu-td-actions .btn {
        width: 32px !important;
        height: 32px !important;
        padding: 0 !important;
        margin: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 8px !important;
        font-size: 0.85rem !important;
        flex-shrink: 0 !important;
    }
    #paginationControls {
        background: #ffffff !important;
        border: 1px solid #E2E8F0 !important;
        border-radius: 12px !important;
        margin-top: 0.75rem !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    }

    /* --------------------------------------------------------------------------
       Staff Management Mobile Cards
       -------------------------------------------------------------------------- */
    #staffTable {
        display: block !important;
        width: 100% !important;
    }
    #staffTable thead {
        display: none !important;
    }
    #staffTable tbody {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.75rem !important;
        padding: 0 !important;
        width: 100% !important;
    }
    #staffTable tbody tr.staff-row {
        display: grid !important;
        grid-template-columns: 1fr auto !important;
        gap: 0.3rem 0.65rem !important;
        background: #ffffff !important;
        border: 1px solid #E2E8F0 !important;
        border-radius: 14px !important;
        padding: 0.85rem !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
        margin-bottom: 0 !important;
        align-items: center !important;
        width: 100% !important;
        box-sizing: border-box !important;
        transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    }
    #staffTable tbody tr.staff-row:hover {
        box-shadow: 0 6px 16px rgba(45, 90, 39, 0.08) !important;
    }
    #staffTable tbody tr.staff-row .staff-td-num {
        display: none !important;
    }
    #staffTable tbody tr.staff-row .staff-td-user {
        grid-column: 1 !important;
        grid-row: 1 !important;
        padding: 0 !important;
        font-size: 0.98rem !important;
        font-weight: 700 !important;
        color: var(--nt-primary) !important;
    }
    #staffTable tbody tr.staff-row .staff-td-role {
        grid-column: 2 !important;
        grid-row: 1 !important;
        padding: 0 !important;
        text-align: right !important;
    }
    #staffTable tbody tr.staff-row .staff-td-name {
        grid-column: 1 !important;
        grid-row: 2 !important;
        padding: 0 !important;
        font-weight: 500 !important;
        font-size: 0.88rem !important;
        color: #334155 !important;
    }
    #staffTable tbody tr.staff-row .staff-td-status {
        grid-column: 2 !important;
        grid-row: 2 !important;
        padding: 0 !important;
        text-align: right !important;
    }
    #staffTable tbody tr.staff-row .staff-td-login {
        grid-column: 1 / -1 !important;
        grid-row: 3 !important;
        padding: 0.55rem 0 0 !important;
        margin-top: 0.25rem !important;
        border-top: 1px solid #F1F5F9 !important;
        font-size: 0.76rem !important;
        color: #64748B !important;
    }
    #staffTable tbody tr.staff-row .staff-td-login::before {
        content: 'Last login: ';
        font-weight: 600;
        color: #475569;
    }
    #staffTable tbody tr.staff-row .staff-td-created {
        grid-column: 1 !important;
        grid-row: 4 !important;
        padding: 0 !important;
        font-size: 0.76rem !important;
        color: #64748B !important;
    }
    #staffTable tbody tr.staff-row .staff-td-created::before {
        content: 'Joined: ';
        font-weight: 600;
        color: #475569;
    }
    #staffTable tbody tr.staff-row .staff-td-actions {
        grid-column: 2 !important;
        grid-row: 4 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 0.35rem !important;
    }
    #staffTable tbody tr.staff-row .staff-td-actions .btn {
        width: 32px !important;
        height: 32px !important;
        padding: 0 !important;
        margin: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 8px !important;
        font-size: 0.85rem !important;
        flex-shrink: 0 !important;
    }

    /* --------------------------------------------------------------------------
       Audit & POS Transaction Logs Mobile Cards
       -------------------------------------------------------------------------- */
    #auditTable,
    #posLogsTable {
        display: block !important;
        width: 100% !important;
    }
    #auditTable thead,
    #posLogsTable thead {
        display: none !important;
    }
    #auditTable tbody,
    #posLogsTable tbody {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.75rem !important;
        padding: 0.5rem 0 !important;
        width: 100% !important;
    }
    #auditTable tbody tr.audit-row,
    #posLogsTable tbody tr.pos-log-row {
        display: grid !important;
        grid-template-columns: 1fr auto !important;
        gap: 0.35rem 0.65rem !important;
        background: #ffffff !important;
        border: 1px solid #E2E8F0 !important;
        border-radius: 14px !important;
        padding: 0.85rem !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    #auditTable tbody tr.audit-row td,
    #posLogsTable tbody tr.pos-log-row td {
        padding: 0 !important;
    }
    #auditTable tbody tr.audit-row .audit-td-desc {
        grid-column: 1 / -1 !important;
        padding: 0.45rem 0 !important;
        border-top: 1px solid #F1F5F9 !important;
        border-bottom: 1px solid #F1F5F9 !important;
    }
}

/* Reduced Motion Compliance */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}


