:root {
    --primary-color: #2563eb;
    --secondary-color: #64748b;
    --bg-color: #f8fafc;
    --card-bg: #ffffff;
    --text-main: #1e293b;
    --text-muted: #94a3b8;
    --navbar-height: 60px;
}

html {
    margin: 0;
    padding: 0;
    background-color: #e2e8f0;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Vazirmatn', sans-serif;
    color: var(--text-main);
    background-color: #e2e8f0;
    -webkit-tap-highlight-color: transparent;
}

/* ─── App Shell ──────────────────────────────────────────────── */
.app-shell {
    display: flex;
    flex-direction: column;
    min-height: 100svh;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    background-color: var(--bg-color);
    box-shadow: 0 0 40px rgba(0,0,0,0.12);
    overflow: visible;
}

.app-main {
    flex: 1;
    padding: 0.75rem 0.85rem calc(1.5rem + 64px);
}

/* ─── Auth Layout ────────────────────────────────────────────── */
.auth-body {
    min-height: 100vh;
    background: #f0f4ff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

/* Animated background blobs */
.auth-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.auth-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.35;
    animation: blob-float 8s ease-in-out infinite;
}
.auth-blob-1 {
    width: 300px; height: 300px;
    background: #bfdbfe;
    top: -80px; right: -60px;
    animation-delay: 0s;
}
.auth-blob-2 {
    width: 250px; height: 250px;
    background: #c7d2fe;
    bottom: -60px; left: -40px;
    animation-delay: 3s;
}
.auth-blob-3 {
    width: 180px; height: 180px;
    background: #a5f3fc;
    top: 40%; left: 50%;
    transform: translateX(-50%);
    animation-delay: 5s;
}
@keyframes blob-float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
}

.auth-wrap {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    padding: 1.5rem 1.25rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Logo area */
.auth-logo-wrap {
    text-align: center;
    margin-bottom: 1.75rem;
}
.auth-logo-ring {
 
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 0.3rem;
    overflow: hidden;
}
.auth-logo-img {
    width: 162px; height: 162px;
    filter: brightness(20%);
    object-fit: contain;
}
.auth-brand {
    font-size: 1.45rem;
    font-weight: 800;
    color: #1e293b;
    letter-spacing: -0.5px;
}
.auth-brand-sub {
    font-size: 0.78rem;
    color: #64748b;
    margin-top: 3px;
}

/* Card */
.auth-card-new {
    width: 100%;
    border-radius: 28px;
    padding: 1.8rem 1.5rem;
}
.auth-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1.4rem;
    text-align: center;
}

/* Alert banners */
.auth-alert {
    border-radius: 14px;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
}
.auth-alert-danger {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}
.auth-alert-success {
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

/* Field */
.auth-field-group { margin-bottom: 1.25rem; }
.auth-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 0.45rem;
}
.auth-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.auth-input-icon {
    position: absolute;
    right: 14px;
    color: #94a3b8;
    font-size: 0.95rem;
    pointer-events: none;
    z-index: 2;
}
.auth-input {
    width: 100%;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 0.8rem 2.6rem 0.8rem 1rem;
    font-size: 1rem;
    font-family: 'Vazirmatn', sans-serif;
    color: var(--text-main);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.auth-input:focus {
    border-color: var(--primary-color);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.auth-input::placeholder { color: #cbd5e1; }
.auth-input-otp {
    text-align: center;
    letter-spacing: 0.4em;
    font-size: 1.3rem;
    font-weight: 700;
    padding-right: 2.6rem;
}
.auth-hint {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 0.4rem;
}

/* Primary button */
.auth-btn-primary {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #1e40af, #2563eb);
    color: white;
    border: none;
    border-radius: 14px;
    padding: 0.85rem 1rem;
    font-size: 1rem;
    font-weight: 700;
    font-family: 'Vazirmatn', sans-serif;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
    box-shadow: 0 4px 14px rgba(37,99,235,0.4);
    margin-bottom: 0.5rem;
}
.auth-btn-primary:hover {
    box-shadow: 0 6px 20px rgba(37,99,235,0.5);
    opacity: 0.95;
}
.auth-btn-primary:active { transform: scale(0.98); }

/* Divider */
.auth-divider {
    position: relative;
    text-align: center;
    margin: 1.1rem 0;
}
.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%; left: 0; right: 0;
    height: 1px;
    background: #e2e8f0;
}
.auth-divider span {
    position: relative;
    background: rgba(255,255,255,0.85);
    padding: 0 0.75rem;
    font-size: 0.78rem;
    color: #94a3b8;
    font-weight: 500;
}

/* Google button */
.auth-btn-google {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    background: white;
    color: #1e293b;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Vazirmatn', sans-serif;
    text-decoration: none;
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.auth-btn-google:hover {
    border-color: #93c5fd;
    box-shadow: 0 2px 10px rgba(37,99,235,0.12);
    color: #1e293b;
}
.auth-btn-google:active { transform: scale(0.98); }
.google-icon {
    width: 20px; height: 20px; flex-shrink: 0;
}

/* Back link */
.auth-back-link {
    font-size: 0.82rem;
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s;
}
.auth-back-link:hover { color: var(--primary-color); }

/* Verify mobile display */
.verify-mobile-display {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: #f0f9ff;
    border: 1.5px solid #bae6fd;
    border-radius: 16px;
    padding: 0.9rem 1rem;
    margin-bottom: 1.25rem;
}
.verify-mobile-icon {
    width: 40px; height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, #0ea5e9, #38bdf8);
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 1rem; flex-shrink: 0;
}
.verify-mobile-hint { font-size: 0.75rem; color: #64748b; margin-bottom: 2px; }
.verify-mobile-number { font-size: 1.1rem; font-weight: 700; color: #0c4a6e; direction: ltr; }

/* Footer text */
.auth-footer-text {
    margin-top: 1.5rem;
    font-size: 0.72rem;
    color: #94a3b8;
    text-align: center;
}

/* desktop centering */
.auth-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}
.auth-card {
    background: var(--card-bg);
    border-radius: 20px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    border: none;
}
.auth-logo {
    width: 80px; height: 80px;
    background: var(--primary-color);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 32px;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
}

/* Mobile App Layout */
.app-header {
    background: var(--card-bg);
    flex-shrink: 0;
    z-index: 100;
    padding: 0.85rem 1rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

.app-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0;
}

/* ─── Bottom Navigation ──────────────────────────────────────── */
.bottom-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    flex-shrink: 0;
    height: 64px;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    flex-direction: row;
    align-items: stretch;
    overflow: visible;
    box-shadow: 0 -1px 0 rgba(0,0,0,0.06), 0 -6px 20px rgba(0,0,0,0.05);
    z-index: 100;
    padding: 0;
    padding-bottom: env(safe-area-inset-bottom);
    border-top: 1px solid rgba(0,0,0,0.05);
    border-radius: 20px 20px 0 0;
}

/* ─── Bottom Nav Items ───────────────────────────────────────── */
.bn-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    flex: 1 1 0;
    min-width: 0;
    height: 100%;
    text-decoration: none;
    color: #94a3b8;
    position: relative;
    transition: color 0.2s;
    padding: 6px 4px 4px;
    overflow: visible;
    box-sizing: border-box;
}

.bn-icon-wrap {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 1rem;
    flex-shrink: 0;
    transition: background 0.2s, transform 0.2s;
}

.bn-label {
    font-size: 0.6rem;
    font-weight: 500;
    transition: color 0.2s;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* Active state */
.bn-item.bn-active {
    color: var(--primary-color);
}
.bn-item.bn-active .bn-icon-wrap {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
}
.bn-item.bn-active .bn-label {
    font-weight: 700;
}

/* Active indicator dot */
.bn-item.bn-active::after {
    content: '';
    position: absolute;
    top: 5px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--primary-color);
    opacity: 0.6;
}

/* Tap effect */
.bn-item:active .bn-icon-wrap {
    transform: scale(0.9);
    background: rgba(37, 99, 235, 0.08);
}

/* ─── Center Featured Button ─────────────────────────────────── */
.bn-center { color: #94a3b8; }
.bn-center-btn {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(135deg, #2563eb, #6366f1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.45);
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: -14px;
    flex-shrink: 0;
}
.bn-center:active .bn-center-btn {
    transform: scale(0.92);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}
.bn-center.bn-active .bn-center-btn {
    background: linear-gradient(135deg, #1d4ed8, #4f46e5);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.55);
}
.bn-center.bn-active .bn-label {
    color: var(--primary-color);
    font-weight: 700;
}
.bn-center::after { display: none; }

/* Components */
.mobile-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0,0,0,0.03);
}

.stat-card {
    background: linear-gradient(135deg, var(--primary-color), #1d4ed8);
    color: white;
}

.fab-btn {
    position: fixed;
    bottom: calc(var(--navbar-height) + 20px);
    left: 20px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.3);
    border: none;
    z-index: 900;
    font-size: 1.5rem;
    text-decoration: none;
}
.fab-btn:hover {
    color: white;
}

.alert-item {
    display: flex;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f1f5f9;
}
.alert-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.alert-img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
    background-color: #f1f5f9;
}
.alert-content {
    flex: 1;
}
.alert-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4px;
}
.alert-title {
    font-weight: 600;
    font-size: 0.95rem;
}
.alert-time {
    font-size: 0.75rem;
    color: var(--text-muted);
}
.alert-desc {
    font-size: 0.85rem;
    color: var(--secondary-color);
    line-height: 1.4;
}

/* Form Elements */
.form-control-mobile {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
}
.form-control-mobile:focus {
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
    border-color: var(--primary-color);
}
.btn-mobile-primary {
    background-color: #334155; /* Dark smoky */
    color: white;
    border-radius: 12px;
    padding: 0.75rem;
    font-weight: 600;
    width: 100%;
    border: none;
    transition: background-color 0.2s;
}

.btn-mobile-primary:hover, .btn-mobile-primary:focus {
    background-color: #1e293b;
    color: white;
}

/* ─── Dashboard Hero ─────────────────────────────────────────── */
.dashboard-hero {
    position: relative;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 60%, #3b82f6 100%);
    border-radius: 24px;
    padding: 1.4rem 1.2rem 1.4rem;
    margin-bottom: 1.25rem;
    overflow: hidden;
    color: white;
}
.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.12;
    background: white;
}
.hero-shape-1 {
    width: 150px; height: 150px;
    top: -50px; right: -40px;
}
.hero-shape-2 {
    width: 100px; height: 100px;
    bottom: -30px; left: 20px;
}
.hero-content {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.85rem;
}
.hero-avatar {
    width: 52px; height: 52px;
    border-radius: 16px;
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.35);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; font-weight: 700; color: white;
    overflow: hidden; flex-shrink: 0;
}
.hero-avatar img {
    width: 100%; height: 100%; object-fit: cover;
}
.hero-text { flex: 1; }
.hero-greeting { font-size: 0.78rem; opacity: 0.8; margin-bottom: 2px; }
.hero-name { font-size: 1.05rem; font-weight: 700; }
.hero-badge-wrap { margin-right: auto; }
.hero-alert-badge {
    display: flex; align-items: center; gap: 5px;
    background: rgba(255, 80, 80, 0.9);
    color: white;
    border-radius: 20px;
    padding: 5px 10px;
    font-size: 0.8rem; font-weight: 600;
    text-decoration: none;
    animation: pulse-badge 2s infinite;
}
@keyframes pulse-badge {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,80,80,0.4); }
    50% { box-shadow: 0 0 0 6px rgba(255,80,80,0); }
}

/* ─── Stats Grid ─────────────────────────────────────────────── */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
    margin-bottom: 1.25rem;
}
.stat-tile {
    border-radius: 20px;
    padding: 1rem 0.9rem 0.85rem;
    text-decoration: none;
    display: flex; flex-direction: column;
    position: relative; overflow: hidden;
    transition: transform 0.15s, box-shadow 0.15s;
}
.stat-tile:active { transform: scale(0.97); }
.stat-tile::after {
    content: '';
    position: absolute;
    top: -20px; right: -20px;
    width: 80px; height: 80px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
}
.stat-blue   { background: linear-gradient(135deg, #1e40af, #3b82f6); color: white; box-shadow: 0 4px 14px rgba(59,130,246,0.4); }
.stat-indigo { background: linear-gradient(135deg, #4338ca, #6366f1); color: white; box-shadow: 0 4px 14px rgba(99,102,241,0.4); }
.stat-amber  { background: linear-gradient(135deg, #b45309, #f59e0b); color: white; box-shadow: 0 4px 14px rgba(245,158,11,0.4); }
.stat-emerald{ background: linear-gradient(135deg, #065f46, #10b981); color: white; box-shadow: 0 4px 14px rgba(16,185,129,0.4); }

.stat-icon-wrap {
    width: 34px; height: 34px;
    border-radius: 10px;
    background: rgba(255,255,255,0.2);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.95rem; margin-bottom: 0.65rem;
}
.stat-value {
    font-size: 1.65rem; font-weight: 800;
    line-height: 1; margin-bottom: 3px;
}
.stat-label {
    font-size: 0.78rem; opacity: 0.85; font-weight: 500;
}
.stat-sub {
    font-size: 0.68rem; opacity: 0.65; margin-top: 2px;
}

/* ─── Section Header ─────────────────────────────────────────── */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}
.section-title {
    font-weight: 700; font-size: 0.95rem; color: var(--text-main);
}
.section-link {
    font-size: 0.78rem; color: var(--primary-color);
    text-decoration: none; font-weight: 500;
    display: flex; align-items: center; gap: 3px;
}

/* ─── Quick Actions ──────────────────────────────────────────── */
.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.6rem;
    margin-bottom: 1.4rem;
}
.qa-card {
    display: flex; flex-direction: column;
    align-items: center; gap: 0.45rem;
    background: white;
    border-radius: 16px;
    padding: 0.85rem 0.4rem 0.7rem;
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.7rem; font-weight: 600; text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.04);
    transition: transform 0.15s;
}
.qa-card:active { transform: scale(0.95); color: var(--text-main); }
.qa-icon {
    width: 40px; height: 40px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; color: white;
}
.qa-icon-blue   { background: linear-gradient(135deg, #2563eb, #60a5fa); }
.qa-icon-purple { background: linear-gradient(135deg, #7c3aed, #a78bfa); }
.qa-icon-green  { background: linear-gradient(135deg, #059669, #34d399); }
.qa-icon-orange { background: linear-gradient(135deg, #d97706, #fbbf24); }

/* ─── Alerts Card ────────────────────────────────────────────── */
.alerts-card {
    background: white;
    border-radius: 20px;
    padding: 0.25rem 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.04);
    margin-bottom: 1.25rem;
    overflow: hidden;
}
.alert-row {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 0.9rem 1rem;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.15s;
}
.alert-row:last-child { border-bottom: none; }
.alert-row:active { background: #f8fafc; }

.alert-thumb {
    position: relative;
    width: 56px; height: 56px;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f1f5f9;
}
.alert-thumb img {
    width: 100%; height: 100%; object-fit: cover;
}
.alert-thumb-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    color: #cbd5e1; font-size: 1.1rem;
}
.alert-dot {
    position: absolute;
    top: 4px; right: 4px;
    width: 8px; height: 8px;
    background: #ef4444;
    border-radius: 50%;
    border: 1.5px solid white;
}

.alert-body {
    flex: 1;
    min-width: 0;
}
.alert-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3px;
}
.alert-camera {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-main);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.alert-time {
    font-size: 0.68rem;
    color: var(--text-muted);
    font-weight: 500;
    flex-shrink: 0;
    margin-right: 0.5rem;
}
.alert-msg {
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Payment Banner */
.payment-banner {
    position: relative;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 18px;
    padding: 0.9rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}
.payment-banner-content { display: flex; align-items: center; gap: 0.7rem; }
.payment-icon { font-size: 1.2rem; background: rgba(255,255,255,0.2); width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.payment-text { font-size: 0.8rem; font-weight: 600; }
.payment-banner-link {
    width: 32px; height: 32px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 0.8rem;
    text-decoration: none;
}

/* Common list */
.common-list {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.common-list-item {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.9rem 1rem;
    border-bottom: 1px solid #f1f5f9;
    text-decoration: none;
    color: var(--text-main);
}
.common-list-item:last-child { border-bottom: none; }
.cli-left { display: flex; align-items: center; gap: 0.75rem; }
.cli-icon {
    width: 36px; height: 36px;
    background: #f1f5f9;
    color: #64748b;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.9rem;
}
.cli-text { font-size: 0.85rem; font-weight: 600; }
.cli-arrow { color: #cbd5e1; font-size: 0.8rem; }

/* Desktop Simulation Mode */
@media (min-width: 481px) {
    .app-shell {
        border-radius: 0 0 28px 28px;
        box-shadow: 0 0 60px rgba(0,0,0,0.2);
    }

 
}

/* Fix input-group border radius for RTL */
.input-group .form-control-mobile {
    text-align: right; /* RTL standard */
    border-radius: 0;
    z-index: 1;
}

/* Force buttons to match input height/style */
.input-group .btn {
    border-radius: 12px;
    padding: 0.75rem 1rem;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* First element (Right side in RTL) */
.input-group > :first-child {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-top-right-radius: 12px !important;
    border-bottom-right-radius: 12px !important;
}

/* Last element (Left side in RTL) */
.input-group > :last-child {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-top-left-radius: 12px !important;
    border-bottom-left-radius: 12px !important;
}

/* Middle elements */
.input-group > :not(:first-child):not(:last-child) {
    border-radius: 0 !important;
}

/* Hide spin buttons */
.form-control-mobile::-webkit-outer-spin-button,
.form-control-mobile::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.form-control-mobile[type=number] {
    -moz-appearance: textfield;
}