:root {
    --bg: #0a0a0a;
    --glass: rgba(255, 255, 255, 0.12);
    --glass-hover: rgba(255, 255, 255, 0.16);
    --glass-strong: rgba(255, 255, 255, 0.18);
    --glass-border: rgba(255, 255, 255, 0.28);
    --glass-border-soft: rgba(255, 255, 255, 0.16);
    --glass-highlight: rgba(255, 255, 255, 0.35);
    --accent: #ffffff;
    --accent-soft: rgba(255, 255, 255, 0.12);
    --text: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.72);
    --text-muted: rgba(255, 255, 255, 0.48);
    --success: #d4ffe8;
    --error: #ffd4d4;
    --warning: #ffe9b8;
    --radius: 28px;
    --radius-sm: 20px;
    --radius-pill: 999px;
    --blur: 28px;
    --blur-strong: 48px;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.28);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.picker-open {
    overflow: hidden;
}

.bg-scene {
    position: fixed;
    inset: 0;
    z-index: -3;
    background: var(--bg) url('background.png') center center / cover no-repeat;
    background-attachment: fixed;
}

.bg-scene::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.18);
    pointer-events: none;
}

.bg-orbs {
    display: none;
}

body::before {
    display: none;
}

#app {
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
    position: relative;
    padding: 0 4px;
}

.glass-panel {
    background: var(--glass);
    backdrop-filter: blur(var(--blur)) saturate(180%);
    -webkit-backdrop-filter: blur(var(--blur)) saturate(180%);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow), inset 0 1px 0 var(--glass-highlight);
    border-radius: var(--radius);
}

.glass-inner {
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    border: 1px solid var(--glass-border-soft);
    border-radius: var(--radius-sm);
}

.glass-input {
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    border: 1px solid var(--glass-border-soft);
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.glass-input:focus,
.glass-input:focus-within {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-soft);
}

.glass-chip {
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid var(--glass-border-soft);
    backdrop-filter: blur(12px);
}

.header {
    padding: 12px 12px 8px;
}

.header-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-start;
    direction: ltr;
    min-width: 0;
    padding: 10px 14px;
    border-radius: var(--radius-pill);
}

.user-meta {
    min-width: 0;
    direction: rtl;
    text-align: right;
}

.user-name {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}

.user-sub {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.user-id {
    font-size: 10px;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    direction: ltr;
    text-align: left;
}

.user-level {
    font-size: 10px;
    font-weight: 500;
    color: var(--text);
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid var(--glass-border-soft);
    border-radius: var(--radius-pill);
    padding: 2px 10px;
    flex-shrink: 0;
}

.avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: var(--shadow-soft);
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main {
    padding: 0 12px 32px;
}

.view.hidden,
.hidden {
    display: none !important;
}

.steps-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 18px;
    margin-bottom: 14px;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    opacity: 0.35;
    transition: opacity 0.25s;
}

.step-item.active,
.step-item.done {
    opacity: 1;
}

.step-item.done .step-circle {
    background: rgba(255, 255, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.55);
    color: var(--text);
}

.step-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.25s;
}

.step-item.active .step-circle {
    background: rgba(255, 255, 255, 0.32);
    border-color: rgba(255, 255, 255, 0.55);
    color: var(--text);
    box-shadow: var(--shadow-soft);
}

.step-item span {
    font-size: 10px;
    color: var(--text-muted);
}

.step-line {
    width: 22px;
    height: 1px;
    background: var(--glass-border-soft);
    margin: 0 4px 18px;
}

.steps-nav .step-circle {
    width: 30px;
    height: 30px;
    font-size: 11px;
}

.steps-nav-5 .step-line {
    width: 12px;
    margin: 0 2px 18px;
}

.steps-nav-5 .step-item span {
    font-size: 8px;
}

.speech-box {
    padding: 14px 16px;
    margin-bottom: 14px;
    border-radius: 14px;
}

.speech-label {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

#speech-text-display {
    font-size: 15px;
    line-height: 1.7;
    font-weight: 500;
    margin-bottom: 10px;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}

.video-recorder {
    position: relative;
    margin-bottom: 14px;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.35);
    aspect-ratio: 4 / 3;
}

.video-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 100%;
    min-height: 180px;
    color: var(--text-muted);
    font-size: 13px;
}

.video-ph-icon {
    width: 40px;
    height: 40px;
    opacity: 0.7;
}

.video-ph-icon .icon svg {
    width: 40px;
    height: 40px;
}

.video-timer {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(220, 38, 38, 0.85);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}

.video-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.video-actions .btn {
    flex: 1;
    min-width: 120px;
}

.btn.danger {
    background: rgba(220, 38, 38, 0.75);
    border-color: rgba(248, 113, 113, 0.5);
}

.card,
.status-card {
    padding: 24px 20px;
}

.card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

/* Skeleton loading */

.desc {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.75;
}

.phone-input {
    display: flex;
    align-items: center;
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 14px;
    direction: ltr;
}

.prefix {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 13px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-left: 1px solid var(--glass-border-soft);
    font-size: 13px;
    color: var(--text-secondary);
    white-space: nowrap;
}

.prefix-flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 15px;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.prefix-flag svg {
    width: 100%;
    height: 100%;
    display: block;
}

.phone-input input {
    flex: 1;
    background: none;
    border: none;
    padding: 13px 14px;
    color: var(--text);
    font-family: 'Vazirmatn', sans-serif;
    font-size: 16px;
    outline: none;
    direction: ltr;
    text-align: left;
}

.sent-mobile {
    text-align: center;
    padding: 12px 16px;
    border-radius: var(--radius-pill);
    margin-bottom: 18px;
    font-size: 15px;
    letter-spacing: 0.08em;
    color: var(--text);
    direction: ltr;
}

.otp-box-wrap {
    margin-bottom: 16px;
}

.otp-frames {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 22px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    direction: ltr;
}

.otp-digit {
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
    color: var(--text);
    font-family: 'Vazirmatn', sans-serif;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    outline: none;
    caret-color: transparent;
    transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
    -webkit-appearance: none;
    appearance: none;
}

.otp-digit:focus {
    background: rgba(255, 255, 255, 0.24);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.45);
    transform: scale(1.06);
}

.otp-digit.filled {
    background: rgba(255, 255, 255, 0.22);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.otp-digit::placeholder {
    color: transparent;
}

.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 7px;
}

.form-group input:not(.glass-input) {
    width: 100%;
}

.form-group input,
.date-trigger {
    width: 100%;
    border-radius: var(--radius-sm);
    padding: 13px 14px;
    color: var(--text);
    font-family: 'Vazirmatn', sans-serif;
    font-size: 14px;
    outline: none;
    direction: ltr;
    text-align: left;
}

.date-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    text-align: right;
    direction: rtl;
    color: var(--text);
}

.date-icon {
    font-size: 16px;
    opacity: 0.7;
}

.btn {
    width: 100%;
    padding: 14px 20px;
    border: none;
    border-radius: var(--radius-pill);
    font-family: 'Vazirmatn', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.15s, background 0.2s;
    letter-spacing: 0.01em;
}

.glass-btn {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: var(--text);
    backdrop-filter: blur(16px) saturate(160%);
    box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.glass-btn:active {
    transform: scale(0.98);
    background: rgba(255, 255, 255, 0.2);
}

.btn.ghost {
    margin-top: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--glass-border-soft);
    color: var(--text-secondary);
    backdrop-filter: blur(12px);
}

.btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.info-box {
    border-radius: var(--radius-sm);
    padding: 14px;
    margin-bottom: 18px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 13px;
}

.info-row:not(:last-child) {
    border-bottom: 1px solid var(--glass-border-soft);
}

.info-row span {
    color: var(--text-secondary);
}

.status-card {
    text-align: center;
    padding: 38px 22px;
}

.status-icon {
    font-size: 42px;
    margin-bottom: 14px;
}

.status-card h2 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
}

.status-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.status-card.pending { border-color: rgba(255, 233, 184, 0.45); }
.status-card.rejected { border-color: rgba(255, 212, 212, 0.45); }
.status-card.complete { border-color: rgba(255, 255, 255, 0.45); }
.status-card.error { border-color: rgba(255, 212, 212, 0.4); }
.status-card.wait { border-color: rgba(255, 255, 255, 0.4); }

.status-card .btn {
    margin-top: 16px;
    width: 100%;
}

/* Complete screen */
.complete-screen {
    position: relative;
    text-align: center;
    padding: 32px 20px 28px;
    overflow: hidden;
}

.complete-glow {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.25), transparent 70%);
    filter: blur(30px);
    pointer-events: none;
}

.complete-badge {
    position: relative;
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    animation: popIn 0.5s ease;
}

.complete-check {
    font-size: 32px;
    color: var(--text);
    font-weight: 700;
}

.complete-tag {
    display: inline-block;
    font-size: 11px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid var(--glass-border-soft);
    border-radius: var(--radius-pill);
    padding: 4px 12px;
    margin-bottom: 10px;
}

.complete-screen h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.complete-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 24px;
}

.level-track {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: right;
}

.level-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid var(--glass-border-soft);
    backdrop-filter: blur(16px);
    transition: transform 0.2s;
}

.level-card.done {
    border-color: rgba(255, 255, 255, 0.38);
    background: rgba(255, 255, 255, 0.2);
}

.level-icon {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid var(--glass-border-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.level-info {
    flex: 1;
    min-width: 0;
}

.level-info strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 2px;
}

.level-info span {
    font-size: 11px;
    color: var(--text-secondary);
}

.level-check {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--text);
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Wait screen */
.wait-ring {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    background: rgba(255, 255, 255, 0.15);
    animation: pulse 2s ease-in-out infinite;
}

.status-card .wait-hint {
    margin: 14px 0;
}

.wait-hint {
    margin: 18px 0 14px;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.7;
}

@keyframes popIn {
    from { transform: scale(0.6); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.2); }
    50% { box-shadow: 0 0 0 14px rgba(255, 255, 255, 0); }
}

.level-display {
    display: flex;
    gap: 18px;
    justify-content: center;
    margin-top: 24px;
}

.level-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--text-muted);
}

.level-item span {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 12px;
}

.level-item.done span {
    background: rgba(125, 255, 176, 0.12);
    border-color: rgba(125, 255, 176, 0.35);
    color: var(--success);
}

.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 18px;
    border-radius: var(--radius-pill);
    font-size: 13px;
    z-index: 1100;
    max-width: 92%;
    transition: opacity 0.3s;
    box-shadow: var(--shadow);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-align: right;
}

.toast-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.toast-icon svg {
    width: 18px;
    height: 18px;
}

.toast-text {
    line-height: 1.5;
}

.toast.error {
    border-color: rgba(255, 120, 120, 0.45);
    color: #fff;
}

.toast.error .toast-icon {
    color: #ffb4b4;
}

.toast.success {
    border-color: rgba(125, 255, 176, 0.45);
    color: #fff;
}

.toast.success .toast-icon {
    color: #9dffc8;
}

.toast.info {
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
}

.toast.info .toast-icon {
    color: rgba(255, 255, 255, 0.85);
}

.toast.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.loader.hidden {
    display: none;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    box-shadow: var(--shadow-soft);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Jalali picker */
.picker-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.picker-modal.hidden {
    display: none;
}

.picker-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(12px);
}

.picker-sheet {
    position: relative;
    width: 100%;
    max-width: 480px;
    border-radius: var(--radius) var(--radius) 0 0;
    padding: 20px 16px 28px;
    animation: slideUp 0.28s ease;
}

@keyframes slideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.picker-header {
    text-align: center;
    margin-bottom: 16px;
}

.picker-header h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.picker-header p {
    font-size: 12px;
    color: var(--text-secondary);
}

.picker-columns {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 8px;
    margin-bottom: 18px;
}

.picker-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.picker-label {
    font-size: 11px;
    color: var(--text-muted);
    text-align: center;
}

.picker-scroll {
    height: 180px;
    overflow-y: auto;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid var(--glass-border-soft);
    backdrop-filter: blur(20px);
    scroll-behavior: smooth;
}

.picker-item {
    display: block;
    width: 100%;
    padding: 10px 8px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-family: 'Vazirmatn', sans-serif;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.picker-item.active {
    background: rgba(255, 255, 255, 0.22);
    color: var(--text);
    font-weight: 600;
}

.picker-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    align-items: stretch;
}

.picker-actions .btn {
    width: 100%;
    min-height: 48px;
    margin-top: 0;
    padding: 12px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

@media (max-width: 360px) {
    .otp-frames {
        gap: 7px;
        padding: 16px 14px;
    }
    .otp-digit {
        width: 30px;
        height: 30px;
        font-size: 17px;
    }
    .step-line {
        width: 22px;
    }
    .picker-scroll {
        height: 160px;
    }
}

/* Icons */
.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
}

.icon svg {
    width: 20px;
    height: 20px;
}

.icon-lg svg {
    width: 36px;
    height: 36px;
}

.icon-xl svg {
    width: 32px;
    height: 32px;
}

.icon-sm svg {
    width: 14px;
    height: 14px;
}

.status-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    color: var(--text);
}

.complete-badge {
    display: flex;
    align-items: center;
    justify-content: center;
}

.wait-ring {
    position: relative;
    flex-direction: column;
    gap: 2px;
}

.wait-icon {
    position: absolute;
    top: 8px;
    opacity: 0.35;
}

.wait-icon svg {
    width: 18px;
    height: 18px;
}

.date-icon {
    display: inline-flex;
    align-items: center;
}

.date-icon svg {
    width: 18px;
    height: 18px;
}

.level-check {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Skeleton loading */
.skeleton-steps,
.skeleton-card {
    margin-bottom: 14px;
    padding: 20px 18px;
}

.skeleton-line {
    height: 12px;
    border-radius: 10px;
    margin-bottom: 12px;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.08) 0%,
        rgba(255, 255, 255, 0.18) 50%,
        rgba(255, 255, 255, 0.08) 100%
    );
    background-size: 200% 100%;
    animation: shimmer 1.4s ease-in-out infinite;
}

.skeleton-line:last-child {
    margin-bottom: 0;
}

.skeleton-line.w-40 { width: 40%; }
.skeleton-line.w-50 { width: 50%; }
.skeleton-line.w-60 { width: 60%; }
.skeleton-line.w-80 { width: 80%; }
.skeleton-line.w-full { width: 100%; }
.skeleton-line.h-lg { height: 44px; border-radius: 14px; }
.skeleton-line.h-btn { height: 46px; border-radius: 999px; margin-top: 8px; }

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.account-tabs {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    padding: 8px;
    border-radius: 999px;
    background: rgba(20, 20, 20, 0.72);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(18px);
    z-index: 40;
}

.account-tab {
    border: none;
    border-radius: 999px;
    padding: 10px 8px;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 12px;
    color: var(--text-secondary);
    background: transparent;
    cursor: pointer;
}

.account-tab.active {
    background: rgba(255, 255, 255, 0.18);
    color: var(--text);
    font-weight: 600;
}

.main.has-account-tabs {
    padding-bottom: 88px;
}

.account-panel { margin-bottom: 14px; }
.account-body { font-size: 13px; line-height: 1.9; color: var(--text-secondary); }
.cards-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }

.bank-card {
    border-radius: 18px;
    padding: 18px 16px;
    background: linear-gradient(135deg, var(--bank-color), rgba(0, 0, 0, 0.45));
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: var(--shadow-soft);
}

.bank-card-top { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.bank-logo {
    width: 36px; height: 36px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 700; font-size: 15px;
}
.bank-card-name { font-size: 13px; font-weight: 600; color: #fff; }
.bank-card-number {
    font-size: 18px; letter-spacing: 0.12em; color: #fff;
    direction: ltr; text-align: left; margin-bottom: 12px;
}
.bank-card-holder { font-size: 12px; color: rgba(255, 255, 255, 0.85); }
.bank-detect-label { min-height: 18px; margin-top: 8px; font-size: 12px; color: var(--text-secondary); }
