/* ============================================================
   Unified Theme - Dark Fintech Style
   Color Palette: Deep Navy (#0D0F1A), Blue-purple (#4F46E5), Cyan (#00D4FF)
   Inspired by modern fintech/crypto apps
   ============================================================ */

/* ============================================================
   1. CSS Variables (CSS Custom Properties)
   ============================================================ */
:root {
    /* Primary Colors - Dark Fintech Theme */
    --color-primary: #4F46E5;
    --color-primary-dark: #4338CA;
    --color-primary-light: #6366F1;
    --color-primary-glow: rgba(79, 70, 229, 0.25);
    --color-accent: #00D4FF;
    --color-accent-dark: #00B8E6;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #4F46E5 0%, #6366F1 50%, #818CF8 100%);
    --gradient-header: linear-gradient(135deg, #0D0F1A 0%, #1A1D2E 50%, #0D0F1A 100%);
    --gradient-card: linear-gradient(145deg, #1A1D2E 0%, #16182A 100%);
    --gradient-green: linear-gradient(135deg, #10B981 0%, #34D399 100%);
    --gradient-red: linear-gradient(135deg, #EF4444 0%, #F87171 100%);
    --gradient-cyan: linear-gradient(135deg, #00D4FF 0%, #06B6D4 100%);
    --gradient-gold: linear-gradient(135deg, #F59E0B 0%, #FBBF24 100%);

    /* Background Colors */
    --bg-body: #080A14;
    --bg-card: #13162A;
    --bg-card-hover: #1A1D2E;
    --bg-surface: #0D0F1A;
    --bg-input: #1A1D2E;

    /* Text Colors */
    --text-primary: #F1F5F9;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    --text-accent: #00D4FF;
    --text-white: #FFFFFF;

    /* Semantic Colors */
    --color-success: #10B981;
    --color-success-bg: rgba(16, 185, 129, 0.1);
    --color-danger: #EF4444;
    --color-danger-bg: rgba(239, 68, 68, 0.1);
    --color-warning: #F59E0B;
    --color-warning-bg: rgba(245, 158, 11, 0.1);
    --color-info: #00D4FF;
    --color-info-bg: rgba(0, 212, 255, 0.1);

    /* Shadows */
    --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.4);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.7);
    --shadow-glow: 0 0 20px rgba(79, 70, 229, 0.2);
    --shadow-glow-accent: 0 0 20px rgba(0, 212, 255, 0.15);

    /* Border Radius */
    --radius-xs: 6px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
    --radius-full: 9999px;

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 12px;
    --space-lg: 16px;
    --space-xl: 20px;
    --space-2xl: 24px;
    --space-3xl: 32px;

    /* Bottom Safe Area */
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --safe-top: env(safe-area-inset-top, 0px);

    /* Font */
    --font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

/* ============================================================
   2. Reset & Base Styles
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-family);
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-primary);
    background-color: var(--bg-body);
    max-width: 750px;
    margin: 0 auto;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.05);
}

img {
    max-width: 100%;
    display: block;
}

ul, ol {
    list-style: none;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
    background: none;
}

button {
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.05);
}

/* ============================================================
   3. Scrollbar Styling
   ============================================================ */
::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

/* ============================================================
   4. Page Header (Dark Header Bar)
   ============================================================ */
.page-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--gradient-header);
    padding: 12px var(--space-lg);
    padding-top: calc(12px + var(--safe-top));
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.page-header .page-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-white);
    flex: 1;
    text-align: center;
    letter-spacing: 0.3px;
}

.page-header .header-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s;
}

.page-header .header-btn:active {
    background: rgba(255, 255, 255, 0.12);
    transform: scale(0.93);
}

.page-header .back-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s;
}

.page-header .back-btn:active {
    background: rgba(255, 255, 255, 0.12);
    transform: scale(0.93);
}

/* App Header */
.appHeader {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--gradient-header);
    padding: 12px var(--space-lg);
    padding-top: calc(12px + var(--safe-top));
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.appHeader .left {
    flex-shrink: 0;
}

.appHeader .headerButton {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
}

.appHeader .pageTitle {
    flex: 1;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: 0.3px;
}

/* ============================================================
   5. App Capsule (Content Container)
   ============================================================ */
#appCapsule {
    padding: var(--space-lg);
    padding-bottom: calc(70px + var(--safe-bottom));
}

/* ============================================================
   6. Card Styles
   ============================================================ */
.card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255, 255, 255, 0.04);
    overflow: hidden;
    transition: all 0.2s;
}

.card-body {
    padding: var(--space-lg);
}

/* ============================================================
   7. Form Styles
   ============================================================ */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-group.basic {
    margin-bottom: var(--space-lg);
}

.input-wrapper {
    position: relative;
}

.input-wrapper label.label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.form-control {
    width: 100%;
    padding: 13px 14px;
    background: var(--bg-input);
    border: 1.5px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 14px;
    transition: all 0.2s;
}

.form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-glow);
    outline: none;
}

.form-control::placeholder {
    color: var(--text-muted);
}

.clear-input {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 16px;
    cursor: pointer;
}

/* ============================================================
   8. Button Styles
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 20px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    text-align: center;
    -webkit-tap-highlight-color: transparent;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-white);
    box-shadow: var(--shadow-glow);
}

.btn-primary:active {
    transform: scale(0.97);
    opacity: 0.9;
}

.btn-primary.btn-block {
    width: 100%;
}

.btn-outline-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-outline-secondary:active {
    background: rgba(255, 255, 255, 0.1);
}

/* ============================================================
   9. Section & ListView
   ============================================================ */
.section {
    margin-bottom: var(--space-lg);
}

.listview-title {
    padding: var(--space-sm) 0;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.listview {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.listview.image-listview.text > li > .item {
    display: flex;
    align-items: center;
    padding: 14px var(--space-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: background 0.15s;
}

.listview.image-listview.text > li > .item:active {
    background: rgba(255, 255, 255, 0.03);
}

.listview.image-listview.text > li:last-child > .item {
    border-bottom: none;
}

.listview .item .in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    min-width: 0;
}

.listview .item .in > div {
    flex: 1;
    min-width: 0;
}

.text-muted {
    color: var(--text-muted);
    font-size: 12px;
}

.text-primary {
    color: var(--color-primary-light);
    font-size: 13px;
}

/* ============================================================
   10. Avatar
   ============================================================ */
.avatar-section {
    margin-bottom: var(--space-lg);
}

.avatar-section img {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-full);
    margin: 0 auto;
    border: 3px solid rgba(79, 70, 229, 0.3);
    box-shadow: var(--shadow-glow);
}

/* ============================================================
   11. Table Styles
   ============================================================ */
.table-responsive {
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.table thead th {
    padding: 12px var(--space-md);
    text-align: left;
    font-weight: 600;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    white-space: nowrap;
}

.table tbody td {
    padding: 13px var(--space-md);
    color: var(--text-primary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.table tbody tr:last-child td {
    border-bottom: none;
}

/* ============================================================
   12. Pagination
   ============================================================ */
.mui-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    list-style: none;
    padding: var(--space-lg) 0;
}

.mui-pagination a,
.mui-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--bg-card);
    color: var(--text-secondary);
}

.mui-pagination .active a,
.mui-pagination .active span {
    background: var(--gradient-primary);
    color: #fff;
    border-color: transparent;
}

.mui-content-padded {
    text-align: center;
}

/* ============================================================
   13. Badge & Tag
   ============================================================ */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 600;
}

.badge-success {
    background: var(--color-success-bg);
    color: var(--color-success);
}

.badge-danger {
    background: var(--color-danger-bg);
    color: var(--color-danger);
}

.badge-warning {
    background: var(--color-warning-bg);
    color: var(--color-warning);
}

/* ============================================================
   14. Form Switch
   ============================================================ */
.form-check {
    display: flex;
    align-items: center;
}

.form-switch {
    padding-left: 0;
}

.form-check-input {
    width: 44px;
    height: 24px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    transition: background 0.2s;
}

.form-check-input:checked {
    background: var(--gradient-primary);
}

.form-check-input::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    top: 3px;
    left: 3px;
    transition: transform 0.2s;
    box-shadow: var(--shadow-xs);
}

.form-check-input:checked::before {
    transform: translateX(20px);
}

/* ============================================================
   15. Fixed Bottom Bar
   ============================================================ */
.fixed-bar {
    position: fixed;
    bottom: calc(60px + var(--safe-bottom));
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 750px;
    padding: var(--space-md) var(--space-lg);
    background: rgba(13, 15, 26, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 90;
}

/* ============================================================
   16. Utility Classes
   ============================================================ */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: var(--space-sm); }
.mt-2 { margin-top: var(--space-md); }
.mt-3 { margin-top: var(--space-lg); }
.mt-4 { margin-top: var(--space-xl); }
.mt-5 { margin-top: var(--space-2xl); }
.mb-1 { margin-bottom: var(--space-sm); }
.mb-2 { margin-bottom: var(--space-md); }
.mb-3 { margin-bottom: var(--space-lg); }
.mb-4 { margin-bottom: var(--space-xl); }
.mb-5 { margin-bottom: var(--space-2xl); }
.ml-1 { margin-left: var(--space-sm); }
.mr-1 { margin-right: var(--space-sm); }
.p-1 { padding: var(--space-sm); }
.p-2 { padding: var(--space-md); }
.p-3 { padding: var(--space-lg); }

.inset {
    margin: 0;
    border-radius: var(--radius-lg);
}

/* ============================================================
   17. Tab Bar (Bottom Navigation) - Dark Style
   ============================================================ */
#mainTabBar {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 750px;
    height: calc(60px + var(--safe-bottom));
    padding-bottom: var(--safe-bottom);
    background: rgba(13, 15, 26, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: flex-start;
    z-index: 999;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

#mainTabBar .tab-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 8px 0 6px;
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 500;
    transition: color 0.2s;
    background: transparent;
    border: none;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.05);
}

#mainTabBar .tab-item.active {
    color: var(--color-accent);
}

#mainTabBar .tab-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 2px;
}

#mainTabBar .tab-label {
    font-size: 10px;
    font-weight: 500;
    line-height: 1.2;
}

#mainTabBar .tab-item:active {
    opacity: 0.7;
}

/* ============================================================
   18. Loading & Spinner
   ============================================================ */
.loading-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    color: var(--text-muted);
}

.spinner {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(79, 70, 229, 0.2);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================================
   19. Divider
   ============================================================ */
.divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
    margin: var(--space-lg) 0;
}

/* ============================================================
   20. Toggle Switch (iOS style)
   ============================================================ */
.switch-toggle {
    position: relative;
    width: 52px;
    height: 28px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: background 0.3s;
    flex-shrink: 0;
}

.switch-toggle.on {
    background: var(--color-primary);
}

.switch-toggle::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    top: 2px;
    left: 2px;
    transition: transform 0.3s;
    box-shadow: var(--shadow-xs);
}

.switch-toggle.on::after {
    transform: translateX(24px);
}

/* ============================================================
   21. Status Indicators
   ============================================================ */
.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.status-dot.success { background: var(--color-success); box-shadow: 0 0 6px var(--color-success); }
.status-dot.danger { background: var(--color-danger); box-shadow: 0 0 6px var(--color-danger); }
.status-dot.warning { background: var(--color-warning); box-shadow: 0 0 6px var(--color-warning); }
.status-dot.pending { background: var(--color-accent); box-shadow: 0 0 6px var(--color-accent); }

/* ============================================================
   22. Toast & Layer Overrides
   ============================================================ */
.layui-layer-dialog .layui-layer-content {
    overflow: hidden !important;
}

.layui-layer {
    background: var(--bg-card) !important;
    border-radius: var(--radius-lg) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    box-shadow: var(--shadow-lg) !important;
}

.layui-layer-title {
    background: var(--bg-card) !important;
    color: var(--text-white) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    font-weight: 600 !important;
}

.layui-layer-content {
    color: var(--text-primary) !important;
}

.layui-layer-btn a {
    background: var(--gradient-primary) !important;
    color: #fff !important;
    border: none !important;
    border-radius: var(--radius-md) !important;
}

/* ============================================================
   23. Empty State
   ============================================================ */
.empty-state {
    text-align: center;
    padding: 60px var(--space-lg);
    color: var(--text-muted);
}

.empty-state ion-icon {
    font-size: 56px;
    margin-bottom: var(--space-lg);
    opacity: 0.3;
    color: var(--text-accent);
}

.empty-state p {
    font-size: 14px;
    line-height: 1.6;
}

/* ============================================================
   24. Hero / Gradient Banner
   ============================================================ */
.hero-banner {
    background: var(--gradient-header);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    position: relative;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -20%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

/* ============================================================
   25. Icon Chip / Badge
   ============================================================ */
.icon-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    font-size: 18px;
    color: #fff;
    flex-shrink: 0;
}

/* ============================================================
   26. Stats Grid
   ============================================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-sm);
}

.stats-grid-item {
    text-align: center;
    padding: var(--space-md);
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.stats-grid-value {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-accent);
    margin-bottom: 2px;
}

.stats-grid-label {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* ============================================================
   27. Page Content Wrapper
   ============================================================ */
.page-content {
    padding: var(--space-lg);
    padding-bottom: calc(70px + var(--safe-bottom));
}

/* ============================================================
   28. Quick Action Grid (4 items)
   ============================================================ */
.quick-action-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    padding: var(--space-lg);
}

.quick-action-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
}

.quick-action-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-sm);
    font-size: 22px;
    color: #fff;
    box-shadow: var(--shadow-md);
    transition: transform 0.2s;
    position: relative;
}

.quick-action-icon-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 14px;
    background: inherit;
    filter: blur(12px);
    opacity: 0.3;
    z-index: -1;
}

.quick-action-cell:active .quick-action-icon-wrap {
    transform: scale(0.9);
}

.quick-action-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: center;
}

/* ============================================================
   29. Notification Badge
   ============================================================ */
.notif-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    background: var(--color-danger);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    border: 2px solid var(--bg-body);
}

/* ============================================================
   30. Form Select Override
   ============================================================ */
.layui-form-select {
    display: none !important;
}

select.form-control {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748B' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

/* ============================================================
   31. Layer/Mobile Dialog Overrides
   ============================================================ */
.app-login {
    min-height: 100vh;
}

/* ============================================================
   32. Price Display
   ============================================================ */
.price-up {
    color: var(--color-success) !important;
}

.price-down {
    color: var(--color-danger) !important;
}

/* ============================================================
   33. Progress Bar
   ============================================================ */
.progress {
    height: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    border-radius: 3px;
    background: var(--gradient-primary);
    transition: width 0.3s;
}
