/**
 * JilaBazaar - Mobile Account Dashboard Stylesheet
 * Faithful native-app implementation matching mobile design specifications
 * Scoped to mobile screens <= 768px
 */

@media (max-width: 768px) {
  /* Hide the legacy desktop dashboard on mobile */
  .jb-dashboard-desktop {
    display: none !important;
  }

  /* Show the mobile app container */
  .jb-mobile-account-app {
    display: block !important;
    background-color: #f8fafc;
    min-height: calc(100vh - 120px);
    padding: 14px 12px 100px 12px;
    font-family: 'Plus Jakarta Sans', Inter, -apple-system, BlinkMacSystemFont, sans-serif;
    color: #0f172a;
    -webkit-font-smoothing: antialiased;
  }

  /* 1. HERO PROFILE CARD */
  .app-profile-card {
    background: linear-gradient(90deg, #ff6a00 0%, #ff3b30 55%, #e11d48 100%);
    border-radius: 16px;
    padding: 16px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-shadow: 0 8px 22px rgba(255, 59, 48, 0.22);
    margin-bottom: 14px;
    position: relative;
    overflow: hidden;
  }
  .app-profile-card::after {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 70%);
    pointer-events: none;
  }
  .app-profile-info {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
  }
  .app-profile-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    border: 3px solid rgba(255, 255, 255, 0.95);
    overflow: hidden;
  }
  .app-profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .app-profile-avatar-fallback {
    font-size: 24px;
    font-weight: 900;
    color: #ff3b30;
    line-height: 1;
  }
  .app-profile-text {
    min-width: 0;
  }
  .app-profile-name {
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    margin: 0 0 2px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.25;
  }
  .app-profile-sub {
    color: rgba(255, 255, 255, 0.9);
    font-size: 11.5px;
    margin: 0;
    line-height: 1.2;
    font-weight: 500;
  }
  .app-profile-btn {
    background: #ffffff;
    color: #0f172a !important;
    font-size: 11.5px;
    font-weight: 700;
    padding: 7px 13px;
    border-radius: 999px;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.15s ease, background-color 0.15s ease;
    white-space: nowrap;
  }
  .app-profile-btn:active {
    transform: scale(0.96);
    background: #f1f5f9;
  }

  /* 2. STATS ROW */
  .app-stats-row {
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 14px;
    padding: 12px 6px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    margin-bottom: 18px;
  }
  .app-stat-col {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 6px;
    text-decoration: none !important;
    border-right: 1px solid #f1f5f9;
    min-width: 0;
  }
  .app-stat-col:last-child {
    border-right: none;
  }
  .app-stat-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
  }
  .app-stat-icon.blue { background: #eff6ff; color: #2563eb; }
  .app-stat-icon.pink { background: #ffe4e6; color: #e11d48; }
  .app-stat-icon.green { background: #ecfdf5; color: #10b981; }
  .app-stat-icon.orange { background: #fff7ed; color: #f97316; }
  .app-stat-info {
    min-width: 0;
    line-height: 1;
  }
  .app-stat-value {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
    margin-bottom: 3px;
  }
  .app-stat-label {
    font-size: 9.5px;
    font-weight: 600;
    color: #64748b;
    line-height: 1.15;
    white-space: normal;
  }

  /* 3. SECTION HEADINGS */
  .app-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding: 0 2px;
  }
  .app-section-header h2 {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    letter-spacing: -0.3px;
  }
  .app-see-all-link {
    font-size: 12.5px;
    font-weight: 700;
    color: #f97316 !important;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
  }

  /* 4. QUICK ACTIONS GRID (2 Rows x 4 Cols) */
  .app-quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 20px;
  }
  .app-quick-tile {
    border-radius: 14px;
    padding: 13px 4px 11px 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    text-decoration: none !important;
    transition: transform 0.15s ease;
    border: 1px solid rgba(0, 0, 0, 0.02);
    min-height: 82px;
  }
  .app-quick-tile:active {
    transform: scale(0.96);
  }
  .app-quick-tile i {
    font-size: 19px;
    line-height: 1;
  }
  .app-quick-tile span {
    font-size: 11px;
    font-weight: 700;
    color: #334155 !important;
    text-align: center;
    line-height: 1.2;
    display: block;
  }

  /* Pastel color schemes matching screenshot */
  .app-tile-track { background: #f0f7ff; }
  .app-tile-track i { color: #2563eb; }

  .app-tile-reorder { background: #f0fdf4; }
  .app-tile-reorder i { color: #16a34a; }

  .app-tile-wishlist { background: #fdf2f8; }
  .app-tile-wishlist i { color: #db2777; }

  .app-tile-coupons { background: #fff7ed; }
  .app-tile-coupons i { color: #ea580c; }

  .app-tile-support { background: #f5f3ff; }
  .app-tile-support i { color: #7c3aed; }

  .app-tile-wallet { background: #ecfdf5; }
  .app-tile-wallet i { color: #059669; }

  .app-tile-reviews { background: #fefce8; }
  .app-tile-reviews i { color: #ca8a04; }

  .app-tile-address { background: #f0f7ff; }
  .app-tile-address i { color: #2563eb; }

  /* 5. SHOP LOCAL SHOP EASY PROMO BANNER */
  .app-promo-banner {
    background: linear-gradient(135deg, #e0f2fe 0%, #fff7ed 55%, #fed7aa 100%);
    border-radius: 16px;
    padding: 16px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    margin-bottom: 22px;
    border: 1px solid rgba(249, 115, 22, 0.15);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  }
  .app-promo-content {
    flex: 1 1 auto;
    min-width: 0;
    z-index: 2;
  }
  .app-promo-blue {
    color: #1d4ed8;
    font-size: 21px;
    font-weight: 900;
    line-height: 1.1;
    display: block;
    letter-spacing: -0.5px;
  }
  .app-promo-orange {
    color: #ea580c;
    font-size: 21px;
    font-weight: 900;
    line-height: 1.1;
    display: block;
    margin-bottom: 5px;
    letter-spacing: -0.5px;
  }
  .app-promo-sub {
    color: #475569;
    font-size: 11.5px;
    font-weight: 500;
    margin: 0 0 12px 0;
    max-width: 175px;
    line-height: 1.35;
  }
  .app-promo-btn {
    background: #ff5b00;
    color: #ffffff !important;
    border-radius: 999px;
    padding: 7px 16px;
    font-size: 12px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 12px rgba(255, 91, 0, 0.35);
    text-decoration: none !important;
    white-space: nowrap;
    transition: transform 0.15s ease;
  }
  .app-promo-btn:active {
    transform: scale(0.96);
  }
  .app-promo-visual {
    flex: 0 0 115px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
  }
  .app-promo-img {
    width: 115px;
    height: 115px;
    object-fit: contain;
    border-radius: 12px;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.1));
  }

  /* 6. RECENT ORDERS EMPTY & LIST */
  .app-orders-section {
    margin-bottom: 22px;
  }
  .app-empty-orders-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 24px 16px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  }
  .app-empty-icon {
    font-size: 38px;
    line-height: 1;
    margin-bottom: 8px;
  }
  .app-empty-title {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 4px;
  }
  .app-empty-desc {
    font-size: 11.5px;
    color: #64748b;
    margin-bottom: 14px;
    line-height: 1.35;
  }
  .app-empty-btn {
    background: #ff5b00;
    color: #ffffff !important;
    border-radius: 999px;
    padding: 8px 22px;
    font-size: 12.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(255, 91, 0, 0.3);
    text-decoration: none !important;
    white-space: nowrap;
  }
  .app-order-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 12px;
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  }
  .app-order-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f1f5f9;
  }
  .app-order-num {
    font-size: 12px;
    font-weight: 800;
    color: #0f172a;
  }
  .app-order-status-badge {
    font-size: 10.5px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
    white-space: nowrap;
  }
  .app-order-status-badge.delivered { background: #dcfce7; color: #15803d; }
  .app-order-status-badge.transit { background: #fff7ed; color: #ea580c; }
  .app-order-body {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
  }
  .app-order-thumb {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    border: 1px solid #f1f5f9;
    object-fit: cover;
    flex-shrink: 0;
  }
  .app-order-title {
    font-size: 12px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.3;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  .app-order-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-top: 8px;
    border-top: 1px solid #f8fafc;
  }
  .app-order-price {
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
  }
  .app-order-actions {
    display: flex;
    gap: 6px;
  }
  .app-order-btn {
    border: 1px solid #e2e8f0;
    border-radius: 7px;
    padding: 5px 12px;
    font-size: 11.5px;
    font-weight: 700;
    text-decoration: none !important;
    white-space: nowrap;
  }
  .app-order-btn.outline { background: #f8fafc; color: #334155 !important; }
  .app-order-btn.primary { background: #ff5b00; color: #ffffff !important; border-color: #ff5b00; }

  /* 7. RECOMMENDED FOR YOU (Horizontal Swipe) */
  .app-recommended-section {
    margin-bottom: 20px;
  }
  .app-recommended-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 -4px;
    padding: 0 4px 10px 4px;
  }
  .app-recommended-scroll::-webkit-scrollbar {
    display: none;
  }
  .app-rec-card {
    flex: 0 0 172px;
    width: 172px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 10px;
    position: relative;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  }
  .app-rec-discount {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #dc2626;
    color: #ffffff;
    font-size: 9.5px;
    font-weight: 800;
    padding: 2.5px 6px;
    border-radius: 5px;
    z-index: 2;
    line-height: 1;
  }
  .app-rec-wishlist {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    font-size: 12px;
  }
  .app-rec-wishlist.active {
    color: #dc2626;
  }
  .app-rec-img-wrap {
    display: block;
    height: 110px;
    margin-bottom: 8px;
    text-align: center;
  }
  .app-rec-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  .app-rec-title {
    font-size: 11.5px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.35;
    height: 32px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 4px;
    text-decoration: none !important;
  }
  .app-rec-rating {
    font-size: 10.5px;
    color: #f59e0b;
    font-weight: 700;
    margin-bottom: 4px;
  }
  .app-rec-rating span {
    color: #64748b;
    font-weight: 500;
  }
  .app-rec-price-row {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin-bottom: 4px;
  }
  .app-rec-price {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
  }
  .app-rec-mrp {
    font-size: 11px;
    color: #94a3b8;
    text-decoration: line-through;
    font-weight: 500;
  }
  .app-rec-add-btn {
    background: #ff5b00;
    color: #ffffff !important;
    border: none;
    border-radius: 8px;
    font-size: 11.5px;
    font-weight: 700;
    padding: 8px 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    box-shadow: 0 2px 6px rgba(255, 91, 0, 0.25);
    cursor: pointer;
    transition: transform 0.15s ease;
  }
  .app-rec-add-btn:active {
    transform: scale(0.97);
  }

  /* 8. TRUST RIBBON */
  .app-trust-ribbon {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 12px;
    scrollbar-width: none;
    margin-top: 6px;
    margin-bottom: 16px;
    margin: 0 -4px 16px -4px;
    padding: 0 4px 10px 4px;
  }
  .app-trust-ribbon::-webkit-scrollbar {
    display: none;
  }
  .app-trust-item {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 999px;
    padding: 6px 14px 6px 7px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  }
  .app-trust-bubble {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
  }
  .app-trust-bubble.green { background: #ecfdf5; color: #10b981; }
  .app-trust-bubble.blue { background: #eff6ff; color: #2563eb; }
  .app-trust-bubble.yellow { background: #fff7ed; color: #f59e0b; }
  .app-trust-bubble.purple { background: #f5f3ff; color: #8b5cf6; }
  .app-trust-text {
    line-height: 1.15;
  }
  .app-trust-title {
    font-size: 10.5px;
    font-weight: 800;
    color: #0f172a;
    display: block;
    white-space: nowrap;
  }
  .app-trust-sub {
    font-size: 9px;
    color: #64748b;
    font-weight: 500;
    display: block;
    white-space: nowrap;
  }
  /* ==========================================================================
     MOBILE APP COMMON SUB-NAVIGATION & HEADER
     ========================================================================== */
  .jb-mobile-app-nav-container {
    margin-bottom: 12px;
  }
  .jb-mobile-app-back-row {
    padding: 0 2px;
  }
  .jb-app-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #475569 !important;
    text-decoration: none !important;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 6px 14px;
    border-radius: 999px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
  }
  .jb-app-back-btn:active {
    background: #f1f5f9;
  }
  .jb-app-pills-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 2px 8px 2px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    margin: 0 -2px;
  }
  .jb-app-pills-scroll::-webkit-scrollbar {
    display: none;
  }
  .jb-app-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    font-size: 12px;
    font-weight: 700;
    color: #334155 !important;
    text-decoration: none !important;
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
    transition: all 0.15s ease;
    flex-shrink: 0;
  }
  .jb-app-pill i {
    font-size: 12px;
    opacity: 0.85;
  }
  .jb-app-pill.active {
    background: linear-gradient(135deg, #ff6a00 0%, #ff3b30 100%) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 4px 12px rgba(255, 59, 48, 0.28) !important;
  }
  .jb-app-pill.active i {
    opacity: 1;
    color: #ffffff !important;
  }

  /* Sub-pages Container Layout */
  .page-account .jb-dashboard-wrapper,
  .jb-dashboard-wrapper {
    background: #f8fafc !important;
    min-height: calc(100vh - 120px);
    padding-bottom: 90px !important;
  }
  .page-account .jb-dashboard-layout,
  .jb-dashboard-layout {
    display: block !important;
    min-width: 0 !important;
  }
  .dashboard-main {
    padding: 12px 10px 96px 10px !important;
    width: 100% !important;
    min-width: 0 !important;
    background: transparent !important;
  }

  /* Subpage Header Card */
  .dashboard-main > .bg-white.rounded-3.p-3,
  .dashboard-main > .bg-white.rounded-3.p-md-4 {
    padding: 14px 12px !important;
    border-radius: 14px !important;
    margin-bottom: 12px !important;
    border: 1px solid #edf2f7 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02) !important;
  }
  .dashboard-main .breadcrumb {
    display: none !important; /* Hide desktop breadcrumb on mobile */
  }
  .dashboard-main h1.h4 {
    font-size: 17px !important;
    font-weight: 800 !important;
    letter-spacing: -0.3px;
    margin-bottom: 0 !important;
  }
  .dashboard-main h1.h4 + p.text-muted {
    font-size: 11.5px !important;
    margin-top: 3px !important;
  }

  /* ==========================================================================
     PAGE 2: MY ORDERS (/orders) MOBILE APP STYLES
     ========================================================================== */
  /* Filter status tabs */
  .dashboard-main .border-top .d-flex.gap-2.overflow-auto {
    padding-bottom: 4px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .dashboard-main .border-top .d-flex.gap-2.overflow-auto::-webkit-scrollbar {
    display: none;
  }
  .dashboard-main .btn.btn-sm.rounded-pill {
    padding: 6px 13px !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
  }
  .dashboard-main .btn-primary-custom,
  .dashboard-main .btn-primary {
    background: #ff5b00 !important;
    border-color: #ff5b00 !important;
    color: #ffffff !important;
  }
  /* Orders Cards */
  .dashboard-main .order-card,
  .dashboard-main .card.rounded-3 {
    border-radius: 14px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02) !important;
    overflow: hidden;
    margin-bottom: 12px !important;
  }
  .dashboard-main .order-card-header {
    padding: 10px 12px !important;
    background: #f8fafc !important;
    border-bottom: 1px solid #f1f5f9 !important;
  }
  .dashboard-main .order-card-body {
    padding: 12px !important;
  }
  .dashboard-main .order-card-footer {
    padding: 10px 12px !important;
    background: #ffffff !important;
    border-top: 1px solid #f1f5f9 !important;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
  }
  .dashboard-main .order-card-footer .btn {
    border-radius: 8px !important;
    padding: 6px 14px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    flex: 1 1 auto;
    text-align: center;
  }

  /* ==========================================================================
     PAGE 3: MY WISHLIST (/wishlist) MOBILE APP STYLES
     ========================================================================== */
  .dashboard-main .row.row-cols-2 {
    row-gap: 10px !important;
    column-gap: 0 !important;
  }
  .dashboard-main .row.row-cols-2 > .col {
    padding: 0 5px !important;
  }
  .dashboard-main .product-card {
    border-radius: 14px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02) !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
  }
  .dashboard-main .product-visual {
    height: 120px !important;
    background: #f8fafc !important;
  }
  .dashboard-main .product-visual img {
    height: 100% !important;
    object-fit: contain !important;
  }
  .dashboard-main .product-card .p-3 {
    padding: 9px !important;
  }
  .dashboard-main .product-card .add-to-cart-btn,
  .dashboard-main .product-card .btn-primary-custom,
  .dashboard-main .product-card .btn-orange {
    background: #ff5b00 !important;
    border-color: #ff5b00 !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    padding: 7px 0 !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    box-shadow: 0 2px 6px rgba(255, 91, 0, 0.25) !important;
  }

  /* ==========================================================================
     PAGE 4: MY ADDRESSES (/account/addresses) MOBILE APP STYLES
     ========================================================================== */
  .dashboard-main .card.h-100 {
    border-radius: 14px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02) !important;
    margin-bottom: 10px;
  }
  .dashboard-main .card.h-100 .p-3\.5,
  .dashboard-main .card.h-100 .p-md-4 {
    padding: 14px !important;
  }
  .dashboard-main .card.h-100 .badge {
    border-radius: 999px !important;
    font-size: 10.5px !important;
    font-weight: 700 !important;
    padding: 4px 9px !important;
  }
  .dashboard-main .card.h-100 .btn-sm {
    border-radius: 7px !important;
    padding: 5px 12px !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
  }

  /* ==========================================================================
     PAGE 5: MY WALLET (/account/wallet) MOBILE APP STYLES
     ========================================================================== */
  .dashboard-main .card.border-0.rounded-4 {
    border-radius: 16px !important;
    background: linear-gradient(135deg, #0284c7 0%, #2563eb 55%, #1d4ed8 100%) !important;
    box-shadow: 0 8px 22px rgba(37, 99, 235, 0.22) !important;
  }
  .dashboard-main .card.border-0.rounded-4 .p-4 {
    padding: 18px 16px !important;
  }
  .dashboard-main .display-5 {
    font-size: 26px !important;
    font-weight: 900 !important;
  }
  .dashboard-main .table-responsive {
    border-radius: 12px !important;
    border: 1px solid #edf2f7 !important;
  }

  /* ==========================================================================
     PAGE 6: MY REVIEWS (/account/reviews) MOBILE APP STYLES
     ========================================================================== */
  .dashboard-main .review-card,
  .dashboard-main .card.shadow-sm {
    border-radius: 14px !important;
    border: 1px solid #e2e8f0 !important;
  }
  .dashboard-main .nav-tabs,
  .dashboard-main .nav-pills {
    border: none !important;
    gap: 8px !important;
  }
  .dashboard-main .nav-link {
    border-radius: 999px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    padding: 7px 16px !important;
  }

  /* ==========================================================================
     PAGE 7: MY COUPONS (/account/coupons) MOBILE APP STYLES
     ========================================================================== */
  .dashboard-main .coupon-card,
  .dashboard-main .card.border.rounded-3 {
    border-radius: 14px !important;
    border: 1px dashed #cbd5e1 !important;
    background: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02) !important;
  }
  .dashboard-main .coupon-code-pill {
    background: #f1f5f9;
    border-radius: 8px;
    padding: 6px 12px;
    font-weight: 800;
    font-size: 13px;
    color: #0f172a;
    letter-spacing: 0.5px;
  }

  /* ==========================================================================
     PAGE 8: REFER & EARN (/account/referral) MOBILE APP STYLES
     ========================================================================== */
  .dashboard-main .referral-banner,
  .dashboard-main .bg-primary.text-white {
    border-radius: 16px !important;
    background: linear-gradient(135deg, #ff6a00 0%, #ff3b30 60%, #e11d48 100%) !important;
    box-shadow: 0 8px 22px rgba(255, 59, 48, 0.22) !important;
    padding: 20px 16px !important;
  }
  .dashboard-main .referral-code-box {
    border-radius: 12px !important;
    background: #ffffff !important;
    padding: 14px !important;
    border: 1.5px dashed #ff6a00 !important;
  }
  .dashboard-main .btn-whatsapp,
  .dashboard-main a[href*="whatsapp"] {
    background: #25d366 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 999px !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3) !important;
  }

  /* ==========================================================================
     PAGE 9: CUSTOMER SUPPORT (/account/support) MOBILE APP STYLES
     ========================================================================== */
  .dashboard-main .support-channel-card {
    border-radius: 14px !important;
    border: 1px solid #e2e8f0 !important;
    padding: 14px !important;
    text-align: center;
    background: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02) !important;
  }
  .dashboard-main .support-channel-card i {
    font-size: 24px !important;
    margin-bottom: 6px;
  }
  .dashboard-main .accordion-item {
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
    margin-bottom: 8px !important;
    overflow: hidden;
  }
  .dashboard-main .accordion-button {
    font-size: 13px !important;
    font-weight: 700 !important;
    padding: 12px 14px !important;
  }

  /* ==========================================================================
     PAGE 10: MY PROFILE (/account/profile) MOBILE APP STYLES
     ========================================================================== */
  .dashboard-main form .form-control,
  .dashboard-main form .form-select {
    border-radius: 10px !important;
    border: 1.5px solid #e2e8f0 !important;
    padding: 10px 12px !important;
    font-size: 13.5px !important;
    min-height: 44px !important;
  }
  .dashboard-main form .form-control:focus,
  .dashboard-main form .form-select:focus {
    border-color: #ff5b00 !important;
    box-shadow: 0 0 0 3px rgba(255, 91, 0, 0.15) !important;
  }
  .dashboard-main form .form-label {
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #334155 !important;
    margin-bottom: 4px !important;
  }
  .dashboard-main form button[type="submit"] {
    background: #ff5b00 !important;
    border-color: #ff5b00 !important;
    color: #ffffff !important;
    border-radius: 999px !important;
    padding: 10px 24px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    width: 100% !important;
    box-shadow: 0 4px 12px rgba(255, 91, 0, 0.3) !important;
  }

  /* ==========================================================================
     PAGE 11: SETTINGS (/account/settings) MOBILE APP STYLES
     ========================================================================== */
  .dashboard-main .form-check-input {
    width: 40px !important;
    height: 22px !important;
    cursor: pointer;
  }
  .dashboard-main .form-check-input:checked {
    background-color: #ff5b00 !important;
    border-color: #ff5b00 !important;
  }
  .dashboard-main .settings-card,
  .dashboard-main .card {
    border-radius: 14px !important;
    border: 1px solid #edf2f7 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02) !important;
    margin-bottom: 12px !important;
  }
}

@media (min-width: 769px) {
  /* On desktop, hide the mobile app view completely */
  .jb-mobile-account-app {
    display: none !important;
  }
}
