/* JFIT — IRCTC e-Catering inspired theme */
:root {
    --jfit-primary: #0F1E3D;
    --jfit-accent:  #E94B2A;
    --jfit-warm:    #FFB400;
    --jfit-warm-2:  #FFC93C;
    --jfit-soft:    #FFF7E6;
    --jfit-success: #2BB673;
    --jfit-radius:  14px;
}

body { font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }

.jfit-navbar { background: #ffffff; }
.jfit-navbar .nav-link { color: #1a1a1a !important; opacity: 0.85; font-weight: 500; }
.jfit-navbar .nav-link:hover { opacity: 1; color: var(--jfit-accent) !important; }
.jfit-navbar .navbar-brand img { display: block; }
.jfit-navbar .dropdown-menu { border: 1px solid #e7e7e7; box-shadow: 0 6px 20px rgba(0,0,0,.08); }
.jfit-navbar .dropdown-item { color: #1a1a1a; }
.jfit-navbar .dropdown-item:hover { background: var(--jfit-soft); color: var(--jfit-accent); }

.hero-section {
    background: linear-gradient(135deg, #FFF7E6 0%, #fff 100%);
    padding: 3.5rem 0 2rem;
}
.hero-illustration { padding: 1rem; }
.hero-image {
    max-width: 100%;
    height: auto;
    max-height: 380px;
    border-radius: 12px;
    animation: heroFloat 4s ease-in-out infinite;
}
@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}
.search-card { border: 1px solid #f3e0b5; }
.search-card .nav-pills .nav-link { color: #555; }
.search-card .nav-pills .nav-link.active { background-color: var(--jfit-warm); color: #1a1a1a; font-weight: 600; }

.step-card { transition: transform .15s ease; }
.step-card:hover { transform: translateY(-3px); }

.coupon-card { border-left: 4px solid var(--jfit-warm); }
.restaurant-card { transition: transform .15s ease, box-shadow .15s ease; }
.restaurant-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.10) !important; }
.hfit-tile { transition: transform .15s ease, box-shadow .15s ease; }
.hfit-tile:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.10) !important; border-left: 3px solid #FFB400 !important; }

.food-card { transition: transform .15s ease; }
.food-card:hover { transform: translateY(-2px); }

/* Food card image + actions column */
.food-card-actions { min-width: 120px; }
.food-card-img { width: 96px; height: 96px; object-fit: cover; }
.food-card-img-placeholder { width: 96px; height: 96px; }

/* Quantity stepper inside food cards */
.qty-stepper {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    background: #fff;
    border: 1px solid #ffc107;
    border-radius: 0.375rem;
    padding: 0.1rem;
    width: 100%;
}
.qty-stepper[hidden] { display: none !important; }
.qty-stepper .btn {
    padding: 0.15rem 0.4rem;
    font-weight: 700;
    line-height: 1;
}
.qty-stepper .qty-input {
    flex: 1;
    min-width: 30px;
    max-width: 50px;
    text-align: center;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.15rem 0.1rem;
    border: none;
    box-shadow: none;
    -moz-appearance: textfield;
}
.qty-stepper .qty-input::-webkit-outer-spin-button,
.qty-stepper .qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.qty-stepper .qty-input:focus { box-shadow: none; outline: none; }

.food-card .qty-add { font-weight: 600; }

.bottom-nav {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    background: #fff; border-top: 1px solid #e7e7e7;
    display: flex; justify-content: space-around; padding: .4rem 0;
    box-shadow: 0 -2px 8px rgba(0,0,0,.05);
}
.bottom-nav a, .bottom-nav button {
    flex: 1; text-align: center; color: #666; font-size: .72rem; text-decoration: none;
    border: none; background: none; padding: .25rem 0;
    display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.bottom-nav a.active, .bottom-nav a:hover, .bottom-nav button:hover { color: var(--jfit-accent); }
.bottom-nav i { font-size: 1.25rem; }

.orders-ticker { max-height: 220px; overflow: hidden; position: relative; }
.orders-ticker .ticker-item {
    padding: .6rem 1rem; border-bottom: 1px dashed #eee; font-size: .92rem;
}

.track-line li.done strong { color: #2BB673; }

.jfit-footer { background: #0c1530; color: #c5c8d4; }
.jfit-footer a { color: #c5c8d4; text-decoration: none; }
.jfit-footer a:hover { color: #fff; }
.jfit-footer h6 { color: #fff; }

.rnavbar { background: #1B3A57; }
.rsidebar { background: #fff; min-height: calc(100vh - 56px); border-right: 1px solid #e7e7e7; }
.rsidebar .nav-link { color: #333; border-radius: 6px; padding: .55rem 1rem; }
.rsidebar .nav-link.active { background: var(--jfit-warm); color: #1a1a1a; font-weight: 600; }

.anavbar { background: #0F1E3D; }
.asidebar { background: #fff; min-height: calc(100vh - 56px); border-right: 1px solid #e7e7e7; }
.asidebar .nav-link { color: #333; border-radius: 6px; padding: .55rem 1rem; }
.asidebar .nav-link.active { background: var(--jfit-warm); color: #1a1a1a; font-weight: 600; }

.letter-spacing { letter-spacing: .5em; }

@media (min-width: 992px) {
    .bottom-nav { display: none; }
}
@media (max-width: 991.98px) {
    main { padding-bottom: 70px; }
}
