/* =========================
   GLOBAL
========================= */
html,
body {
    height: 100%;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: var(--bg-light);
}

body {
    transition: background 0.3s ease, color 0.3s ease;
}

/* =========================
   LAYOUT
========================= */
.app-wrapper {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-container {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* Desktop Preview */
@media (min-width: 768px) {
    .app-container {
        max-width: 420px;
        height: 800px;
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow);
        margin: auto;
        overflow: hidden;
    }
}

/* =========================
   SPLASH
========================= */
.splash-bg {
    justify-content: center;
    align-items: center;
    background: linear-gradient(-45deg, var(--primary), #ff8c1a, #ff6a00, #ff9a3c);
    background-size: 400% 400%;
}

.splash-bg::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url('../img/pattern/food.png');
    opacity: 0.06;
}

/* Logo */
.logo-circle {
    width: 130px;
    height: 130px;
    background: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-circle i {
    font-size: 60px;
    color: var(--primary);
}

/* Text */
.title {
    color: var(--text-light);
    font-size: 28px;
    font-weight: 600;
    margin-top: 20px;
}

.tagline {
    color: #ffe0cc;
    font-size: 15px;
    margin-top: 8px;
}

/* =========================
   LOGIN
========================= */
.login-bg {
    background: var(--bg-white);
    padding: 20px;
}

/* Header */
.header h2 {
    font-weight: 700;
    color: var(--text-dark);
}

.header p {
    color: var(--text-muted);
}

/* Illustration */
.illustration {
    text-align: center;
    margin-bottom: 20px;
}

.illustration img {
    max-width: 200px;
}

/* Input */
.form-control {
    height: 50px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

/* Button */
.btn-login {
    background: var(--primary);
    color: var(--text-light);
    height: 50px;
    border-radius: var(--radius);
    font-weight: 600;
    border: none;
}

.btn-login:hover {
    background: var(--primary-dark);
}

/* Forgot */
.forgot {
    text-align: right;
    font-size: 14px;
}

.forgot a {
    color: var(--primary);
    text-decoration: none;
}

/* Terms */
.terms {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
}

.terms span {
    color: var(--primary);
}


/* Food Master Page */

/* HEADER */
.app-header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 10;
}

/* CONTENT */
.app-content {
    padding: 15px;
}

/* BOTTOM NAV */
.bottom-nav {
    background: #fff;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
}

.bottom-nav .nav-item {
    text-align: center;
    font-size: 12px;
    color: #777;
    text-decoration: none;
}

.bottom-nav .nav-item i {
    display: block;
    font-size: 18px;
}

.bottom-nav .nav-item.active {
    color: var(--primary);
}

.app-container,
.action-card,
.wallet-card {
    transition: all 0.3s ease;
}


/* Hide scrollbar (clean UI) */
.app-content {
    overflow-y: auto;
    scrollbar-width: none;
    /* Firefox */
    -webkit-overflow-scrolling: touch;
}

.app-content::-webkit-scrollbar {
    display: none;
    /* Chrome */
}


#btnBack:active {
    transform: scale(0.9);
}

body,
.app-container,
.action-card,
.restaurant-card,
.offer-card {
    transition: all 0.3s ease;
}

/* =========================
   HOME PAGE
========================= */

/* ORANGE TEXT */
.text-orange {
    color: var(--primary);
}

/* WALLET CARD */
.wallet-card {
    background: linear-gradient(135deg, var(--primary), #ff9a3c);
    border-radius: 16px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* OFFER CARD */
.offer-card {
    background: #ffe0b2;
    border-radius: 16px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.offer-card img {
    width: 90px;
}

/* ACTION GRID */
.action-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 15px 10px;
    text-align: center;
    border: 1px solid #eee;
    font-size: 13px;
    transition: 0.2s;
}

.action-card:hover {
    transform: translateY(-2px);
}

/* ICON */
.action-card i {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 5px;
}

/* HORIZONTAL SCROLL */
.scroll-row {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.scroll-row::-webkit-scrollbar {
    display: none;
}

/* RESTAURANT CARD */
.restaurant-card {
    min-width: 130px;
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: 0.2s;
}

.restaurant-card:hover {
    transform: scale(1.03);
}

.restaurant-card img {
    width: 100%;
    height: 80px;
    object-fit: cover;
}

/* SMALL TEXT FIX */
.small {
    font-size: 13px;
}

/* Restaurant*/

/* SEARCH */
.search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-white);
    border-radius: 12px;
}

.search-box input {
    border: none;
    outline: none;
    background: transparent;
    width: 100%;
    color: var(--text-dark);
}

/* CHIPS */
.chip {
    padding: 6px 14px;
    border-radius: 20px;
    background: #eee;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* Active */
.chip.active {
    background: var(--primary);
    color: #fff;
}

/* Tap effect */
.chip:active {
    transform: scale(0.95);
}

/* LIST CARD */
.restaurant-list-card {
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 12px;
    background: #fff;
    margin-bottom: 10px;
    border: 1px solid #eee;
}

.restaurant-list-card img {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
}

.action-card {
    cursor: pointer;
}

#headerTitle {
    text-align: center;
    font-weight: 600;
}


/*  List of Item  */

/* ITEM CARD */
.item-card {
    display: flex;
    align-items: center;
    padding: 12px;
    background: var(--bg-white);
    border-radius: 14px;
    margin-bottom: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.item-card img {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
}

.item-info {
    flex: 1;
    margin-left: 10px;
}

.item-title {
    font-weight: 600;
}

.item-unit {
    font-size: 12px;
    color: var(--text-muted);
}

.item-price {
    font-weight: 600;
}

.add-btn {
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* CATEGORY CHIP */
.category-chip {
    padding: 6px 14px;
    border-radius: 20px;
    background: #eee;
    font-size: 13px;
    cursor: pointer;
}

.category-chip.active {
    background: var(--primary);
    color: #fff;
}

/* CART BAR */
.cart-bar {
    position: fixed;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 420px;
    background: var(--primary);
    color: #fff;
    padding: 10px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 12px;
    z-index: 1000;
}

.cart-bar {
    animation: slideUp 0.3s ease;
}

.cart-bar div:last-child {
    font-weight: 600;
}

@media (min-width: 768px) {
    .cart-bar {
        bottom: 100px;
    }

}

.cart-bar {
    cursor: pointer;
}

.cart-bar:active {
    transform: translateX(-50%) scale(0.98);
}

.qty-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-white);
    border-radius: 20px;
    padding: 5px 10px;
    border: 1px solid var(--border);
}

.qty-box button {
    border: none;
    background: var(--primary);
    color: #fff;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    cursor: pointer;
}

.qty-box span {
    min-width: 20px;
    text-align: center;
}

/* MODAL STYLE */
.app-modal {
    border-radius: 16px;
    overflow: hidden;
}

/* ITEM ROW */
.cart-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    border-bottom: 1px solid var(--border);
}

.cart-item-name {
    flex: 1;
}

.cart-remove {
    background: #ff4d4f;
    color: #fff;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}


/* MODERN CART ROW */
.cart-row-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    border-bottom: 1px solid var(--border);
}

/* LEFT */
.cart-left {
    flex: 1;
}

.cart-title {
    font-weight: 600;
    font-size: 14px;
}

.cart-sub {
    font-size: 13px;
    color: var(--text-muted);
}

/* RIGHT REMOVE */
.cart-right {
    margin-left: 10px;
}

.remove-btn {
    background: #ff4d4f;
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* PAY BUTTON */
.pay-btn {
    background: var(--primary);
    color: #fff;
    border-radius: 12px;
    height: 45px;
    font-weight: 600;
}

/* WALLET BADGE */
.wallet-badge {
    background: #fff3e0;
    color: var(--primary);
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 13px;
    border: 1px solid #ffd9b3;
}

/* HOTEL INFO CARD */
.hotel-info-card {
    background: var(--bg-white);
    padding: 12px;
    border-radius: 12px;
}

/* NAME */
.hotel-name {
    font-weight: 600;
    font-size: 15px;
}

/* PHONE */
.hotel-phone {
    font-size: 13px;
    color: var(--primary);
    font-weight: 500;
}

/* SUB TEXT */
.hotel-sub {
    font-size: 13px;
    color: var(--text-muted);
}


/* =========================
   MODERN OFFER UI
========================= */

.offer-modern {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    height: 150px;
    cursor: pointer;
}

.offer-modern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* OVERLAY */
.offer-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
            rgba(0, 0, 0, 0.7),
            rgba(0, 0, 0, 0.2));
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 12px;
    color: #fff;
}

/* BADGE */
.offer-badge {
    align-self: flex-start;
    background: #ff7a00;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* TEXT */
.offer-content {
    margin-top: auto;
}

.offer-name {
    font-size: 16px;
    font-weight: 600;
}

.offer-code {
    font-size: 12px;
    opacity: 0.9;
}


/* ORDER CARD */
.order-card {
    background: var(--bg-white);
    padding: 15px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

/* STATUS BADGE */
.status-badge {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
}

.status-wait {
    background: #fff3cd;
    color: #856404;
}

.status-prep {
    background: #cfe2ff;
    color: #084298;
}

.status-done {
    background: #d1e7dd;
    color: #0f5132;
}

.status-default {
    background: #eee;
}

/* DETAILS */
.detail-card {
    background: var(--bg-white);
    padding: 12px;
    border-radius: 12px;
}

/* ROW */
.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 5px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.detail-row:last-child {
    border-bottom: none;
}

.total-row {
    font-weight: 600;
    font-size: 15px;
}



/* =========================
   WALLET PAGE
========================= */

/* TOP CARD */
.wallet-top-card {
    background: linear-gradient(135deg, #ff7a00, #ff9a3c);
    padding: 16px;
    border-radius: 16px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wallet-amount {
    font-size: 26px;
    font-weight: 700;
}

.wallet-icon {
    font-size: 30px;
    opacity: 0.9;
}

/* INPUT */
.amount-input {
    display: flex;
    align-items: center;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 10px;
}

.amount-input span {
    font-size: 18px;
    margin-right: 6px;
}

.amount-input input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 16px;
    background: transparent;
}

/* CHIPS */
.amount-chip {
    padding: 6px 14px;
    border-radius: 20px;
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 500;
    cursor: pointer;
    font-size: 13px;
}

/* BUTTON */
.btn-addcash {
    background: var(--primary);
    color: #fff;
    height: 48px;
    border-radius: 12px;
    font-weight: 600;
}

.btn-addcash:hover {
    background: var(--primary-dark);
}

/* TERMS */
.terms-card {
    background: var(--bg-white);
    padding: 12px;
    border-radius: 12px;
}

.terms-title {
    font-size: 13px;
    color: #ff4d4f;
    font-weight: 600;
}

.terms-text {
    font-size: 13px;
    color: var(--text-muted);
}

.terms-list {
    font-size: 13px;
    color: var(--text-muted);
    padding-left: 16px;
}


/* =========================
   PROFILE PAGE
========================= */

.profile-card {
    background: var(--bg-white);
    padding: 15px;
    border-radius: 16px;
}

.profile-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.profile-name {
    font-weight: 600;
    font-size: 16px;
}

.profile-sub {
    font-size: 13px;
    color: var(--text-muted);
}

/* MENU */
.profile-menu {
    background: var(--bg-white);
    margin-top: 12px;
    border-radius: 16px;
    overflow: hidden;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 14px;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item i:first-child {
    margin-right: 10px;
    color: var(--primary);
}

/* LOGOUT */
.logout-btn {
    background: var(--bg-white);
    padding: 14px;
    border-radius: 12px;
    color: #ff4d4f;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
}

/* ORANGE BUTTON */
.btn-orange {
    background: var(--primary);
    color: #fff;
    border-radius: 10px;
}

.order-cardfeed {
    background: var(--bg-white);
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 10px;
    cursor: pointer;
}

/* ? STAR RATING */
.rating-stars {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 26px;
    cursor: pointer;
}

.rating-stars i {
    color: #ccc;
    transition: 0.2s;
}

.rating-stars i.active {
    color: #ff7a00;
}

/* FEEDBACK CARD */
.feedback-card {
    background: var(--bg-white);
    padding: 16px;
    border-radius: 16px;
}



/* WALLET SUMMARY */
.wallet-summary {
    background: linear-gradient(135deg, #ff7a00, #ff9a3c);
    color: #fff;
    padding: 16px;
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* SUMMARY BOX */
.credit-box,
.debit-box {
    flex: 1;
    text-align: center;
    padding: 10px;
    border-radius: 12px;
    font-weight: 600;
}

.credit-box {
    background: #e8f5e9;
    color: #2e7d32;
}

.debit-box {
    background: #ffebee;
    color: #c62828;
}

/* TRANSACTION CARD */
.txn-card {
    background: var(--bg-white);
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 10px;
}

.txn-ref {
    font-weight: 600;
}

.txn-date {
    font-size: 12px;
    color: var(--text-muted);
}

.txn-type {
    font-size: 12px;
    color: var(--text-muted);
}


/* PWA Install Banner */
#pwaToast {
    border-radius: 12px;
}

/*  Mess Index */
/* TAB SWITCH */
.tab-switch {
    display: flex;
    background: #eee;
    border-radius: 10px;
    overflow: hidden;
}

.tab { flex: 1 0 auto; white-space: nowrap;
    text-align: center;
    padding: 10px;
    font-weight: 600;
    color: #555;
}

.tab.active {
    background: var(--primary);
    color: #fff;
}

/* REPORT CARD */
.report-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-white);
    padding: 14px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

/* COLORS */
.icon.orange {
    background: #fff3e0;
    color: #ff9800;
}

.icon.green {
    background: #e8f5e9;
    color: #4caf50;
}

.icon.blue {
    background: #e3f2fd;
    color: #2196f3;
}

.icon.red {
    background: #fdecea;
    color: #f44336;
}

.title {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 0px;
}

.count {
    font-size: 20px;
    font-weight: 700;
}

.sub {
    font-size: 12px;
    color: var(--text-muted);
}

/* ORDER COUNT */
.order-count-card {
    text-align: center;
    background: var(--bg-white);
    padding: 15px;
    border-radius: 12px;
    font-weight: 600;
}

.order-count-card .total {
    font-size: 26px;
    color: var(--primary);
}

/* NOTE */
.note-box {
    background: #fdecea;
    color: #d32f2f;
    padding: 12px;
    border-radius: 10px;
    font-size: 13px;
}

/* LIST WRAPPER */
.menu-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* CARD STYLE */
.menu-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-radius: 14px;
    background: var(--bg-white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

/* LEFT SIDE */
.menu-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.menu-left i {
    font-size: 18px;
    color: var(--primary);
    background: var(--primary-light);
    padding: 10px;
    border-radius: 10px;
}

/* TEXT */
.menu-card span {
    font-weight: 500;
}

/* RIGHT ICON */
.menu-card>i {
    color: #aaa;
    transition: 0.3s;
}

/* HOVER EFFECT */
.menu-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.menu-card:hover>i {
    transform: translateX(5px);
    color: var(--primary);
}

/* CLICK EFFECT */
.menu-card:active {
    transform: scale(0.97);
}

/* RIPPLE EFFECT */
.menu-card::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 122, 0, 0.08);
    opacity: 0;
    transition: 0.3s;
}

.menu-card:active::after {
    opacity: 1;
}


.count,
.total {
    transition: transform 0.3s;
}

.report-card:hover .count {
    transform: scale(1.1);
}


.tabs { display: flex; flex-wrap: nowrap; align-items: center; gap: 8px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; } .tabs::-webkit-scrollbar { display: none; width: 0; height: 0; }

.tab { flex: 1 0 auto; white-space: nowrap;
    padding: 10px;
    border: none;
    border-radius: 10px;
    background: #eee;
    font-weight: 600;
    transition: 0.3s;
}

.tab.active {
    background: #ff7a00;
    color: #fff;
}

.search-box {
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 10px 40px 10px 15px;
    border-radius: 10px;
    border: 1px solid #ddd;
}

.search-box i {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
}

.item-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    background: #fff;
    margin-bottom: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    animation: fadeInUp 0.4s ease;
}

.item-card:hover {
    transform: translateY(-3px);
}

.item-img {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
}

.item-content {
    flex: 1;
}

.item-title {
    font-weight: 600;
}

.item-sub {
    font-size: 12px;
    color: gray;
}

.item-arrow {
    color: #ff7a00;
    font-size: 18px;
}

.tab {
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab.active {
    transform: scale(1.05);
}

#themeToggle {
    cursor: pointer;
    transition: transform 0.3s ease;
}

#themeToggle:active {
    transform: rotate(180deg) scale(1.2);
}


/*  ITem Add */
 /* FORM CARD */
.form-card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 15px;
    box-shadow: var(--shadow);
}

/* FORM GROUP */
.form-group {
    margin-bottom: 12px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
}

/* INPUT */
.app-input {
    height: 42px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--bg-white);
    color: var(--text-dark);
}

textarea.app-input {
    height: auto;
}

/* UPLOAD BOX */
.upload-box {
    border: 2px dashed var(--border);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    color: var(--text-muted);
}

.upload-box i {
    font-size: 22px;
    color: var(--primary);
}

/* IMAGE PREVIEW */
.preview-img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    margin-top: 10px;
    object-fit: cover;
}

/* BUTTON */
.app-btn {
    background: var(--primary);
    color: #fff;
    height: 45px;
    border-radius: 12px;
    font-weight: 600;
}


/*  SetAvailability */
 /* Buttons */
.action-btn {
    border-radius: 12px;
    font-size: 13px;
}

/* Item Card */
.availability-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: 16px;
    margin-bottom: 12px;
    background: var(--bg-white);
    transition: 0.3s;
}

/* Available / Unavailable EXACT COLORS */
.availability-card.available {
    background: rgba(76, 175, 80, 0.15);
}

.availability-card.unavailable {
    background: rgba(244, 67, 54, 0.15);
}

/* Image */
.item-img {
    width: 55px;
    height: 55px;
    border-radius: 12px;
    object-fit: cover;
    background: #f3f3f3;
}

/* Content */
.item-content {
    flex: 1;
}

.item-title {
    font-weight: 600;
    font-size: 14px;
}

.item-sub {
    font-size: 12px;
    color: var(--text-muted);
}

/* Toggle (MATCH YOUR ORANGE SWITCH) */
.toggle-switch {
    width: 44px;
    height: 24px;
    border-radius: 20px;
    background: #ccc;
    position: relative;
    cursor: pointer;
    transition: 0.3s;
}

.toggle-switch.active {
    background: var(--primary);
}

.toggle-switch::after {
    content: "";
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: 0.3s;
}

.toggle-switch.active::after {
    left: 22px;
}


.custom-modal {
    border-radius: 16px;
    padding: 10px;
}

.custom-modal .btn-dark {
    background: linear-gradient(90deg, #333, #222);
    border-radius: 10px;
}

.custom-modal .btn-light {
    background: #f2f2f2;
    border-radius: 10px;
}


/* =========================
   STATUS PAGE
========================= */
/* TABS */
.order-tabs {
    display: flex;
    gap: 8px;
}

.order-tabs .tab { flex: 1 0 auto; white-space: nowrap;
    padding: 10px;
    border-radius: 10px;
    background: #eee;
    border: none;
    font-weight: 500;
}

.order-tabs .tab.active {
    background: #ff7a00;
    color: #fff;
}

/* SEARCH */
.search-box {
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 10px 40px 10px 10px;
    border-radius: 10px;
    border: 1px solid #ddd;
}
 

/* CARD */
.order-item {
    background: #fff;
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* TOP */
.order-top {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
}

/* ROW */
.order-row {
    font-size: 13px;
    margin-top: 4px;
    color: #666;
}

.order-row span {
    font-weight: 500;
}

/* BOTTOM */
.order-bottom {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    align-items: center;
}

.amount {
    font-weight: bold;
}

/* BADGES */
.badge {
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 12px;
}

.badge-pending {
    background: #ffe0b2;
    color: #ff9800;
}

.badge-accepted {
    background: #d4edda;
    color: #28a745;
}

.badge-delivered {
    background: #d1ecf1;
    color: #17a2b8;
}

.badge-rejected {
    background: #f8d7da;
    color: #dc3545;
}

.order-item {
    transition: all 0.3s ease;
}

.order-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}


/* DETAILS CARD */
.order-card {
    background: #fff;
    border-radius: 14px;
    padding: 12px;
    margin-bottom: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* TOP */
.order-row-top {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
}

.order-id {
    font-size: 15px;
}

.amount {
    color: #ff7a00;
    font-weight: bold;
}

/* MID */
.order-row-mid {
    margin-top: 6px;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

/* PAYMENT */
.payment {
    color: #777;
}

/* STATUS */
.status {
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 12px;
}

/* Delivered badge */
.status.delivered {
    background: #e6f4ea;
    color: #28a745;
}

/* =========================
   PROFILE PAGE
========================= */

.profile-card {
    background: #fff;
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.profile-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #f1f1f1;
}

.profile-name {
    font-weight: 600;
    font-size: 16px;
}

.profile-info {
    font-size: 13px;
    color: #666;
}

/* ACTION BUTTONS */
.action-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(90deg, #2c2c2c, #1e1e1e);
    color: #fff;
    padding: 7px;
    border-radius: 14px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: 0.3s;
}

.action-card i {
    font-size: 18px;
    margin-bottom: 0px;
}

.action-card:hover {
    transform: translateY(-2px);
}

/* =========================
   MODAL UI (APP STYLE)
========================= */

.app-modal {
    border-radius: 20px;
    padding: 10px;
    background: #fff;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* TITLE */
.app-modal .modal-title {
    font-size: 18px;
}

/* INPUT */
.app-input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid #ddd;
    background: #ffffff;
    font-size: 14px;
    outline: none;
    transition: 0.2s;
}

.app-input:focus {
    border-color: #ff7a00;
    background: #fff;
}

/* PRIMARY BUTTON */
.app-btn-primary {
    background: linear-gradient(90deg, #2c2c2c, #1e1e1e);
    color: #fff;
    border-radius: 12px;
    padding: 12px;
    border: none;
}

/* LIGHT BUTTON */
.app-btn-light {
    background: #f1f1f1;
    color: #333;
    border-radius: 12px;
    padding: 12px;
    border: none;
}


 
.offer-carousel {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 6px;
}

.offer-carousel::-webkit-scrollbar {
    display: none;
}

/* CARD */
.offer-card {
    min-width: 88%;
    border-radius: 18px;
    padding: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;

    background: linear-gradient(135deg, #ffe0b2, #ffcc80);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);

    transition: transform 0.3s ease;
}

.offer-card:active {
    transform: scale(0.98);
}

/* LEFT CONTENT */
.offer-left {
    flex: 1;
    padding-right: 10px;
}

.offer-badge {
    display: inline-block;
    background: #ff6d00;
    color: #fff;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 8px;
    margin-bottom: 6px;
    font-weight: 600;
}

.offer-title {
    font-size: 15px;
    font-weight: 600;
    color: #222;
    margin-bottom: 2px;
}

.offer-desc {
    font-size: 12px;
    color: #555;
    margin-bottom: 6px;
}

.offer-price {
    font-size: 16px;
    font-weight: bold;
    color: #000;
}

/* IMAGE */
.offer-right img {
    width: 75px;
    height: 75px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

