/* ============ India Village — "My Reservations & Orders" guest page ============
   Paper #f4f1ea, black text, gold #E8AA42 (same family as TableBooking/FoodOrder). */

/* ---- login card ---- */
.mo-login { display: flex; justify-content: center; }
.mo-login-card {
    background-color: #f4f1ea; border-radius: 18px; padding: 34px 30px; max-width: 460px; width: 100%;
    box-shadow: 0 14px 44px rgba(0,0,0,.14); text-align: center; border-top: 5px solid var(--theme-color, #E8AA42);
}
.mo-login-ic {
    width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%;
    background: linear-gradient(135deg, #1c1c1c, #3a2c10); display: flex; align-items: center; justify-content: center;
}
.mo-login-ic i { font-size: 26px; color: var(--theme-color, #E8AA42); }
.mo-login-card h3 { color: #1c1c1c; font-size: 22px; margin-bottom: 6px; }
.mo-login-sub { color: #6d6759; font-size: 13.5px; margin-bottom: 18px; }

.mo-steps { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 18px; }
.mo-step { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; color: #8a8377; }
.mo-step b { width: 24px; height: 24px; border-radius: 50%; background: #e0d9c8; color: #6d6759; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; }
.mo-step.is-active { color: #1c1c1c; }
.mo-step.is-active b { background: var(--theme-color, #E8AA42); color: #fff; }
.mo-step.is-done b { background: #1e7a3a; color: #fff; }
.mo-step-line { flex: 0 0 34px; height: 2px; background: #e0d9c8; }

.mo-inp { border: 2px solid #e0d9c8 !important; border-radius: 10px !important; height: 46px; font-size: 14px !important; background: #fff !important; color: #1c1c1c !important; margin-bottom: 10px; text-align: center; }
.mo-inp:focus { border-color: var(--theme-color, #E8AA42) !important; box-shadow: 0 0 0 3px rgba(232,170,66,.18) !important; }
.mo-code-inp { font-size: 22px !important; letter-spacing: 8px; font-weight: 800; }
.mo-code-hint { font-size: 13px; color: #4a4538; background: #fdf6e7; border: 1px dashed var(--theme-color, #E8AA42); border-radius: 10px; padding: 9px 12px; }
.mo-code-hint i { color: #8a6414; }
.mo-linkbtn { background: none; border: 0; color: #8a6414; font-size: 12.5px; font-weight: 700; text-decoration: underline; margin-top: 10px; cursor: pointer; }
.mo-msg-ok { color: #1e7a3a; }
.mo-msg-err { color: #b02a1c; }

/* ---- dashboard ---- */
.mo-dash { background-color: #f4f1ea; border-radius: 18px; padding: 24px 24px 30px; box-shadow: 0 14px 44px rgba(0,0,0,.14); }
.mo-dash-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; border-bottom: 2px solid #e0d9c8; padding-bottom: 14px; margin-bottom: 16px; }
.mo-dash-head h3 { color: #1c1c1c; font-size: 22px; margin: 0; }
.mo-dash-head h3 i { color: var(--theme-color, #E8AA42); }
.mo-dash-sub { color: #6d6759; font-size: 13px; margin-top: 3px; }
.mo-live-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #1e7a3a; margin-left: 4px; animation: moPulse 2s ease-in-out infinite; }
@keyframes moPulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.mo-logout { color: #b02a1c; font-weight: 700; font-size: 13.5px; white-space: nowrap; }
.mo-logout:hover { color: #7d1408; }

/* ---- toolbar: search + grid/list toggle ---- */
.mo-tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.mo-search-wrap { position: relative; }
.mo-search-wrap > i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #8a8377; font-size: 14px; }
.mo-search {
    width: 250px; max-width: 62vw; height: 40px; border: 2px solid #e0d9c8; border-radius: 20px;
    background: #fff; color: #1c1c1c; font-size: 13px; padding: 6px 34px 6px 34px; outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.mo-search:focus { border-color: var(--theme-color, #E8AA42); box-shadow: 0 0 0 3px rgba(232,170,66,.18); }
.mo-search-wrap > button {
    position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
    width: 22px; height: 22px; border: 0; border-radius: 50%; background: #ece5d4; color: #6d6759;
    display: inline-flex; align-items: center; justify-content: center; cursor: pointer; font-size: 11px;
}
.mo-search-wrap > button:hover { background: #b02a1c; color: #fff; }
.mo-viewtoggle { display: inline-flex; background: #1c1c1c; border-radius: 20px; padding: 4px; gap: 4px; }
.mo-view-btn {
    width: 34px; height: 32px; border: 0; border-radius: 16px; background: transparent; color: #bdbdbd;
    display: inline-flex; align-items: center; justify-content: center; cursor: pointer; font-size: 14px;
    transition: all .15s ease;
}
.mo-view-btn:hover { color: #fff; }
.mo-view-btn.is-active { background: linear-gradient(135deg, #f3c96e, var(--theme-color, #E8AA42)); color: #1c1c1c; }

/* ---- status filter tabs (with counts) ---- */
.mo-tabs { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 12px; }
.mo-tab {
    border: 2px solid #e0d9c8; background: #fff; color: #4a4538; border-radius: 18px;
    padding: 5px 13px; font-size: 12.5px; font-weight: 800; cursor: pointer;
    display: inline-flex; align-items: center; gap: 6px; transition: all .15s ease;
}
.mo-tab span { background: #f1ece0; color: #6d6759; border-radius: 10px; padding: 0 8px; font-size: 11px; }
.mo-tab:hover { border-color: var(--theme-color, #E8AA42); transform: translateY(-1px); }
.mo-tab.is-active { background: #1c1c1c; border-color: #1c1c1c; color: #fff; box-shadow: 0 4px 12px rgba(28,28,28,.25); }
.mo-tab.is-active span { background: var(--theme-color, #E8AA42); color: #1c1c1c; }
.mo-tab-pending.is-active { background: #c9962a; border-color: #c9962a; }
.mo-tab-confirmed.is-active, .mo-tab-accepted.is-active { background: #1e7a3a; border-color: #1e7a3a; }
.mo-tab-preparing.is-active { background: #23508f; border-color: #23508f; }
.mo-tab-ready.is-active { background: var(--theme-color, #E8AA42); border-color: var(--theme-color, #E8AA42); color: #1c1c1c; }
.mo-tab-ready.is-active span { background: #1c1c1c; color: var(--theme-color, #E8AA42); }
.mo-tab-cancelled.is-active, .mo-tab-noshow.is-active { background: #b02a1c; border-color: #b02a1c; }
.mo-none { color: #6d6759; font-size: 13.5px; background: #fff; border: 1px dashed #e0d9c8; border-radius: 12px; padding: 14px; }
.mo-none i { color: var(--theme-color, #E8AA42); margin-right: 6px; }

/* ---- list view (toggle) ---- */
.mo-view-list .mo-grid > .mo-item-col { width: 100%; max-width: 100%; flex: 0 0 100%; }
.mo-view-list .mo-card { flex-direction: row; flex-wrap: wrap; align-items: stretch; }
.mo-view-list .mo-card-top { flex: 0 0 210px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; }
.mo-view-list .mo-card-body { flex: 1 1 300px; }
.mo-view-list .mo-card-foot { flex: 1 1 100%; }

.mo-sec-title { color: #1c1c1c; font-size: 18px; margin: 22px 0 12px; padding-bottom: 6px; border-bottom: 2px solid var(--theme-color, #E8AA42); display: inline-flex; align-items: center; gap: 8px; }
.mo-sec-title i { color: var(--theme-color, #E8AA42); }
.mo-count { background: #1c1c1c; color: var(--theme-color, #E8AA42); border-radius: 12px; padding: 1px 10px; font-size: 13px; }
.mo-empty { color: #6d6759; font-size: 14px; background: #fff; border: 1px dashed #e0d9c8; border-radius: 12px; padding: 16px; }
.mo-empty a { color: #8a6414; font-weight: 700; text-decoration: underline; }

.mo-card { background: #fff; border: 2px solid #e0d9c8; border-radius: 14px; overflow: hidden; height: 100%; display: flex; flex-direction: column; }
.mo-card-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; background: #1c1c1c; padding: 10px 14px; }
.mo-id { color: #fff; font-weight: 800; font-size: 13.5px; }
.mo-status { border-radius: 12px; padding: 3px 12px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; }
.mo-st-pending   { background: #fdf1d7; color: #8a6414; }
.mo-st-confirmed, .mo-st-accepted { background: #dff3e4; color: #1e7a3a; }
.mo-st-preparing { background: #e7effa; color: #23508f; }
.mo-st-ready     { background: var(--theme-color, #E8AA42); color: #1c1c1c; }
.mo-st-completed { background: #eceae4; color: #4a4538; }
.mo-st-cancelled, .mo-st-noshow { background: #fdecea; color: #b02a1c; }
.mo-st-flash { animation: moFlash 1.5s ease; }
@keyframes moFlash { 0% { transform: scale(1.25); box-shadow: 0 0 0 6px rgba(232,170,66,.35); } 100% { transform: scale(1); box-shadow: none; } }

.mo-card-body { padding: 12px 14px; flex: 1 1 auto; }
.mo-kv { color: #4a4538; font-size: 13.5px; padding: 2px 0; }
.mo-kv i { color: var(--theme-color, #E8AA42); width: 18px; }
.mo-items { margin-top: 8px; border-top: 1px dashed #e0d9c8; padding-top: 8px; }
.mo-item { display: flex; justify-content: space-between; font-size: 13px; color: #1c1c1c; padding: 2px 0; }
.mo-bill { margin-top: 8px; border-top: 1px dashed #e0d9c8; padding-top: 8px; }
.mo-bill-row { display: flex; justify-content: space-between; font-size: 13px; color: #4a4538; padding: 2px 0; }
.mo-bill-offer { color: #1e7a3a; font-weight: 700; }
.mo-bill-final { font-weight: 800; color: #1c1c1c; font-size: 15px; border-top: 2px solid #1c1c1c; margin-top: 5px; padding-top: 6px; }
.mo-bill-note { font-size: 11.5px; color: #8a6414; background: #fdf6e7; border-radius: 8px; padding: 6px 9px; margin-top: 8px; }
.mo-card-foot { background: #fbfaf7; border-top: 1px solid #eee8da; color: #8a8377; font-size: 11.5px; padding: 7px 14px; }

@media (max-width: 575.98px) {
    .mo-login-card { padding: 26px 18px; }
    .mo-dash { padding: 16px 12px 22px; }
    .mo-tools { width: 100%; }
    .mo-search-wrap { flex: 1 1 auto; }
    .mo-search { width: 100%; max-width: none; }
    .mo-view-list .mo-card-top { flex: 1 1 100%; flex-direction: row; align-items: center; }
}
