:root {
    --chai-dark: #4a2810;
    --chai-primary: #6f3f1d;
    --chai-accent: #d97706;
    --chai-cream: #faf6f1;
    --chai-card-border: #eadfd3;
}

body.app-body {
    background-color: var(--chai-cream);
    color: #2c221e;
    min-height: 100vh;
}

.cafe-navbar {
    background: linear-gradient(135deg, var(--chai-dark) 0%, var(--chai-primary) 100%);
}

.brand-icon {
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.16);
    color: #ffd166;
}

.cafe-navbar .nav-link {
    color: rgba(255, 255, 255, 0.85);
    border-radius: 0.5rem;
    padding: 0.45rem 0.75rem;
    font-weight: 500;
}

.cafe-navbar .nav-link:hover,
.cafe-navbar .nav-link.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
}

.card {
    border: 1px solid var(--chai-card-border);
    border-radius: 0.9rem;
}

.kpi-card {
    transition: transform 0.15s ease;
}

.kpi-card:hover {
    transform: translateY(-2px);
}

.kpi-icon {
    width: 46px;
    height: 46px;
    border-radius: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

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

.btn-chai:hover,
.btn-chai:focus {
    background-color: var(--chai-dark);
    border-color: var(--chai-dark);
    color: #fff;
}

.timing-pill-group .btn-check:checked + .btn-morning {
    background-color: #f59e0b;
    border-color: #f59e0b;
    color: #1f1409;
    font-weight: 700;
}

.timing-pill-group .btn-check:checked + .btn-evening {
    background-color: #0284c7;
    border-color: #0284c7;
    color: #fff;
    font-weight: 700;
}

.timing-pill-group .btn-check:checked + .btn-extra {
    background-color: #4b5563;
    border-color: #4b5563;
    color: #fff;
    font-weight: 700;
}

.cup-stepper {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.cup-stepper .cup-input {
    width: 68px;
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
    min-height: 44px;
}

.cup-stepper .btn-step {
    min-width: 42px;
    min-height: 44px;
    font-weight: 700;
}

.quick-add-chips .btn {
    min-height: 36px;
    font-weight: 600;
}

.customer-entry-card.has-cups {
    border-color: #d97706;
    background-color: #fffcf7;
}

.customer-entry-card.saved-flash {
    box-shadow: 0 0 0 3px rgba(25, 135, 84, 0.25);
}

/* Mobile bottom navigation */
.mobile-bottom-nav {
    height: 64px;
    z-index: 1030;
    padding-bottom: env(safe-area-inset-bottom);
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #6b5d54;
    font-size: 0.7rem;
    font-weight: 600;
    gap: 2px;
    min-width: 56px;
}

.bottom-nav-item i {
    font-size: 1.2rem;
}

.bottom-nav-item.active {
    color: var(--chai-primary);
}

.bottom-nav-center .center-fab {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--chai-accent), var(--chai-primary));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: -18px;
    box-shadow: 0 4px 12px rgba(111, 63, 29, 0.35);
    border: 3px solid #fff;
}

@media (max-width: 767.98px) {
    .main-content-wrap {
        padding-bottom: 88px !important;
    }
}

.login-wrapper {
    min-height: 100vh;
    background: linear-gradient(160deg, #4a2810 0%, #8b4c21 55%, #f3e5d4 100%);
}
