/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../webfonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7W0Q5n-wU.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../webfonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7W0Q5n-wU.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../webfonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7W0Q5n-wU.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../webfonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7W0Q5n-wU.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../webfonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7W0Q5n-wU.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../webfonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7W0Q5n-wU.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../webfonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7W0Q5nw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../webfonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7W0Q5n-wU.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../webfonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7W0Q5n-wU.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../webfonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7W0Q5n-wU.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../webfonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7W0Q5n-wU.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../webfonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7W0Q5n-wU.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../webfonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7W0Q5n-wU.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../webfonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7W0Q5nw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../webfonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7W0Q5n-wU.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../webfonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7W0Q5n-wU.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../webfonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7W0Q5n-wU.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../webfonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7W0Q5n-wU.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../webfonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7W0Q5n-wU.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../webfonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7W0Q5n-wU.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../webfonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7W0Q5nw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../webfonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7W0Q5n-wU.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../webfonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7W0Q5n-wU.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../webfonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7W0Q5n-wU.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../webfonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7W0Q5n-wU.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../webfonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7W0Q5n-wU.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../webfonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7W0Q5n-wU.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../webfonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7W0Q5nw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
    /* Light theme (default) */
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f1f5f9;
    --bg-card: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --text-tertiary: #94a3b8;
    --accent: #6366f1;
    --accent-light: #818cf8;
    --accent-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --success: #10b981;
    --error: #ef4444;
    --warning: #f59e0b;
    --border: rgba(0, 0, 0, 0.08);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --radius: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
}
[data-theme="dark"] {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-tertiary: #1a1a25;
    --bg-card: linear-gradient(135deg, #1a1a25 0%, #12121a 100%);
    --text-primary: #ffffff;
    --text-secondary: #9ca3af;
    --text-tertiary: #6b7280;
    --border: rgba(255, 255, 255, 0.08);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.4);
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.5;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.hidden { display: none !important; }
/* =====================================================
   Splash Screen
   ===================================================== */
.splash {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}
.splash.fade-out {
    opacity: 0;
    pointer-events: none;
}
.splash-content {
    text-align: center;
}
.logo-animation {
    position: relative;
    width: 88px;
    height: 88px;
    margin: 0 auto 24px;
}
.logo-circle {
    position: absolute;
    inset: 0;
    border: 3px solid transparent;
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
.logo-animation i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 36px;
    color: var(--accent);
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
.splash h1 {
    font-size: 28px;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}
.splash p {
    color: var(--text-secondary);
    font-size: 14px;
}
/* =====================================================
   App Container
   ===================================================== */
.app {
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg-primary);
}
@media (min-width: 481px) {
    body {
        background: var(--bg-tertiary);
    }
    .app {
        box-shadow: var(--shadow-lg);
    }
}
/* =====================================================
   Header
   ===================================================== */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    position: sticky;
    top: 0;
    background: var(--bg-primary);
    z-index: 100;
    border-bottom: 1px solid var(--border);
}
.header-left,
.header-right {
    display: flex;
    align-items: center;
    gap: 4px;
}
.network-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}
.network-selector:hover {
    border-color: var(--accent);
}
.network-selector:active {
    transform: scale(0.98);
}
.network-selector img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}
.network-selector span {
    font-weight: 600;
    font-size: 14px;
}
.network-selector i {
    font-size: 10px;
    color: var(--text-tertiary);
}
/* =====================================================
   Buttons
   ===================================================== */
.btn-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    color: var(--text-primary);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}
.btn-icon:hover {
    background: var(--bg-tertiary);
}
.btn-icon:active {
    transform: scale(0.95);
    background: var(--bg-tertiary);
}
.btn-icon-sm {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: var(--text-secondary);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}
.btn-icon-sm:hover {
    color: var(--accent);
    background: rgba(99, 102, 241, 0.1);
}
.btn-icon-sm:active {
    transform: scale(0.9);
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}
.btn:active {
    transform: scale(0.98);
}
.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}
.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}
.btn-outline {
    background: transparent;
    border: 1.5px solid var(--border);
    color: var(--text-primary);
}
.btn-outline:hover {
    border-color: var(--accent);
    background: rgba(99, 102, 241, 0.08);
}
.btn-ghost {
    background: transparent;
    color: var(--accent);
}
.btn-ghost:hover {
    background: rgba(99, 102, 241, 0.1);
}
.btn-danger {
    background: var(--error);
    color: white;
}
.btn-block {
    width: 100%;
}
.btn-sm {
    padding: 10px 16px;
    font-size: 13px;
}
.btn-text {
    background: none;
    border: none;
    color: var(--accent);
    font-weight: 600;
    cursor: pointer;
    padding: 8px;
}
.btn-loading {
    position: relative;
    pointer-events: none;
}
.btn-loading::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
.btn-loading span {
    opacity: 0;
}
/* =====================================================
   No Wallet View
   ===================================================== */
.no-wallet-view {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    text-align: center;
}
.empty-wallet-icon {
    width: 100px;
    height: 100px;
    background: var(--bg-tertiary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}
.empty-wallet-icon i {
    font-size: 42px;
    color: var(--text-tertiary);
}
.no-wallet-view h2 {
    font-size: 24px;
    margin-bottom: 8px;
}
.no-wallet-view p {
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 280px;
}
.wallet-actions-vertical {
    width: 100%;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
/* =====================================================
   Main Content
   ===================================================== */
.main-content {
    flex: 1;
    padding: 0 16px 24px;
    margin-top: 5px;
}
/* =====================================================
   Wallet Card
   ===================================================== */
.wallet-card {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
    overflow: hidden;
    border: 1px solid var(--border);
}
.wallet-card-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 0% 0%, rgba(99, 102, 241, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(139, 92, 246, 0.12) 0%, transparent 50%);
    pointer-events: none;
}
.wallet-info {
    position: relative;
    margin-bottom: 24px;
}
.wallet-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}
.wallet-name-row {
    display: flex;
    align-items: center;
    gap: 6px;
}
.wallet-name {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}
.wallet-options-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--bg-tertiary);
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}
.wallet-options-btn:hover {
    background: var(--accent);
    color: white;
}
.wallet-options-btn:active {
    transform: scale(0.9);
}
.wallet-balance {
    display: flex;
    align-items: baseline;
    margin-bottom: 12px;
}
.balance-currency {
    font-size: 28px;
    font-weight: 600;
    margin-right: 4px;
    color: var(--text-secondary);
}
.balance-amount {
    font-size: 40px;
    font-weight: 700;
}
.wallet-address {
    display: flex;
    align-items: center;
    gap: 8px;
}
.address-text {
    font-size: 13px;
    color: var(--text-secondary);
    font-family: 'SF Mono', Monaco, monospace;
}
.wallet-actions {
    position: relative;
    display: flex;
    justify-content: space-around;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}
.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-primary);
    padding: 8px 12px;
    border-radius: var(--radius);
    transition: all 0.2s ease;
}
.action-btn:hover {
    background: var(--bg-tertiary);
}
.action-btn:active {
    transform: scale(0.95);
}
.action-icon {
    width: 52px;
    height: 52px;
    background: var(--accent-gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    transition: all 0.2s ease;
}
.action-btn:hover .action-icon {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4);
}
.action-btn span {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
}
/* =====================================================
   Token Section
   ===================================================== */
.token-section,
.transaction-section {
    margin-bottom: 24px;
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}
.section-header h2 {
    font-size: 18px;
    font-weight: 600;
}
.token-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.token-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: var(--bg-secondary);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid var(--border);
}
.token-item:hover {
    border-color: var(--accent);
    transform: translateX(4px);
}
.token-item:active {
    transform: scale(0.99);
}
.token-icon img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
}
.token-info {
    flex: 1;
}
.token-name {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 2px;
}
.token-price {
    font-size: 12px;
    color: var(--text-tertiary);
}
.token-price .text-green {
    color: var(--success);
}
.token-price .text-red {
    color: var(--error);
}
.token-balance {
    text-align: right;
}
.token-amount {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 2px;
}
.token-value {
    font-size: 13px;
    color: var(--text-secondary);
}
.loading-tokens {
    text-align: center;
    padding: 48px;
    color: var(--text-tertiary);
}
.loading-tokens i {
    font-size: 28px;
}
/* =====================================================
   Swap Section
   ===================================================== */
.swap-section {
    margin-bottom: 24px;
}
.swap-platforms {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.swap-platform {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--bg-secondary);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text-primary);
    border: 1px solid var(--border);
    transition: all 0.2s ease;
}
.swap-platform:hover {
    border-color: var(--accent);
    transform: translateX(4px);
}
.swap-platform:active {
    transform: scale(0.99);
}
.swap-platform-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.swap-platform-icon img {
    width: 24px;
    height: 24px;
}
.swap-platform-info {
    flex: 1;
}
.swap-platform-name {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 2px;
}
.swap-platform-desc {
    font-size: 12px;
    color: var(--text-tertiary);
}
.swap-platform i.fa-external-link-alt {
    color: var(--text-tertiary);
    font-size: 12px;
}
/* =====================================================
   Empty State
   ===================================================== */
.empty-state {
    text-align: center;
    padding: 48px 24px;
    color: var(--text-tertiary);
}
.empty-state i {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}
.empty-state p {
    font-size: 14px;
}
/* =====================================================
   Side Menu
   ===================================================== */
.side-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 200;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(4px);
}
.side-menu-overlay.visible {
    opacity: 1;
}
.side-menu {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 300px;
    max-width: 85vw;
    background: var(--bg-secondary);
    z-index: 201;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
}
.side-menu.open {
    transform: translateX(0);
}
.side-menu-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: var(--accent-gradient);
    color: white;
}
.user-avatar {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.user-info {
    flex: 1;
}
.user-info h3 {
    font-size: 16px;
    font-weight: 600;
}
.user-info p {
    font-size: 12px;
    opacity: 0.8;
}
.side-menu-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
}
.side-menu-close:hover {
    background: rgba(255, 255, 255, 0.3);
}
.side-menu-content {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}
.menu-section-title {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-tertiary);
    padding: 8px 12px;
    letter-spacing: 0.5px;
}
.side-menu-wallet-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 16px;
}
.side-menu-wallet-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg-tertiary);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s ease;
}
.side-menu-wallet-item:hover {
    background: rgba(99, 102, 241, 0.1);
}
.side-menu-wallet-item:active {
    transform: scale(0.98);
}
.side-menu-wallet-item.active {
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid var(--accent);
}
.wallet-item-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}
.wallet-item-info {
    flex: 1;
}
.wallet-item-name {
    font-weight: 600;
    font-size: 14px;
}
.wallet-item-address {
    font-size: 11px;
    color: var(--text-tertiary);
    font-family: monospace;
}
.menu-divider {
    height: 1px;
    background: var(--border);
    margin: 16px 0;
}
.menu-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 14px 12px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 14px;
    cursor: pointer;
    border-radius: var(--radius);
    transition: all 0.2s ease;
    text-align: left;
}
.menu-btn:hover {
    background: var(--bg-tertiary);
}
.menu-btn:active {
    transform: scale(0.98);
}
.menu-btn i {
    width: 20px;
    text-align: center;
    color: var(--text-secondary);
}
.menu-btn.active {
    background: rgba(99, 102, 241, 0.1);
    color: var(--accent);
}
.menu-btn.active i {
    color: var(--accent);
}
/* =====================================================
   Modals
   ===================================================== */
.modal {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.modal.visible {
    opacity: 1;
    visibility: visible;
}
.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}
.modal-content {
    position: relative;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 400px;
    max-height: 90vh;
    overflow: hidden;
    transform: scale(0.95) translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-lg);
}
.modal.visible .modal-content {
    transform: scale(1) translateY(0);
}
.modal-content.modal-full {
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    border-radius: 0;
}
.modal-content.modal-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    transform: translateY(100%);
    max-height: 85vh;
}
.modal.visible .modal-content.modal-bottom {
    transform: translateY(0);
}
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    min-height: 60px;
}
.modal-header h3 {
    font-size: 17px;
    font-weight: 600;
    flex: 1;
    text-align: center;
}
.modal-body {
    padding: 20px;
    overflow-y: auto;
    max-height: calc(90vh - 140px);
}
.modal-full .modal-body {
    max-height: calc(100vh - 140px);
}
.modal-bottom .modal-body {
    max-height: calc(85vh - 60px);
}
.modal-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--border);
}
.modal-desc {
    color: var(--text-secondary);
    margin-bottom: 20px;
    text-align: center;
    font-size: 14px;
}
/* =====================================================
   Forms
   ===================================================== */
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}
.input {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-tertiary);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-size: 15px;
    transition: all 0.2s ease;
}
.input:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}
.input::placeholder {
    color: var(--text-tertiary);
}
.textarea {
    resize: none;
    font-family: 'SF Mono', Monaco, monospace;
    font-size: 13px;
}
.input-with-btn {
    display: flex;
    align-items: center;
    background: var(--bg-tertiary);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.2s ease;
}
.input-with-btn:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}
.input-with-btn .input {
    border: none;
    background: none;
    flex: 1;
}
.input-with-btn .input:focus {
    box-shadow: none;
}
.input-hint {
    font-size: 12px;
    color: var(--text-tertiary);
    margin-top: 6px;
}
.input-error {
    font-size: 12px;
    color: var(--error);
    margin-top: 6px;
}
/* =====================================================
   Network Grid
   ===================================================== */
.network-grid {
    display: grid;
    /*grid-template-columns: repeat(4, 1fr);*/
    grid-template-columns: repeat(5, minmax(60px, 100px));
    gap: 12px;
    margin-bottom: 20px;
}
.network-grid-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 8px;
    background: var(--bg-tertiary);
    border: 2px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 0;
    aspect-ratio: 1 / 1;
     max-width: 100px;
}
.network-grid-item:hover {
    border-color: var(--accent);
}
.network-grid-item:active {
    transform: scale(0.95);
}
.network-grid-item.active {
    border-color: var(--accent);
    background: rgba(99, 102, 241, 0.1);
}
.network-grid-item img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
}

.network-grid-item span {
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
    word-break: break-word;
}

@media (max-width: 380px) {
    .network-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .network-grid-item {
        padding: 10px 6px;
        gap: 6px;
    }

    .network-grid-item img {
        width: 28px;
        height: 28px;
    }

    .network-grid-item span {
        font-size: 10px;
    }
}
/* =====================================================
   Node Status
   ===================================================== */
.node-status-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.node-status-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: var(--bg-tertiary);
    border-radius: var(--radius);
}
.node-status-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}
.node-status-info {
    flex: 1;
}
.node-status-name {
    font-weight: 600;
    font-size: 14px;
}
.node-status-details {
    font-size: 12px;
    color: var(--text-tertiary);
}
.node-status-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
}
.node-status-badge.online {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
}
.node-status-badge.offline {
    background: rgba(239, 68, 68, 0.15);
    color: var(--error);
}
.node-status-badge i {
    font-size: 8px;
}
/* =====================================================
   About Section
   ===================================================== */
.about-section {
    text-align: center;
    padding: 20px;
}
.about-logo {
    width: 80px;
    height: 80px;
    background: var(--accent-gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 36px;
}
.about-section h2 {
    font-size: 22px;
    margin-bottom: 4px;
}
.about-version {
    color: var(--text-tertiary);
    font-size: 13px;
    margin-bottom: 24px;
}
.about-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
    margin-bottom: 24px;
}
.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    background: var(--bg-tertiary);
    border-radius: var(--radius);
}
.about-feature i {
    width: 32px;
    height: 32px;
    background: rgba(99, 102, 241, 0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}
.about-feature-text h4 {
    font-size: 14px;
    margin-bottom: 2px;
}
.about-feature-text p {
    font-size: 12px;
    color: var(--text-tertiary);
}
/* =====================================================
   Toast
   ===================================================== */
.toast {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    background: var(--bg-secondary);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-lg);
    z-index: 500;
    opacity: 0;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}
.toast.visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}
.toast.success .toast-icon {
    color: var(--success);
}
.toast.error .toast-icon {
    color: var(--error);
}
.toast.info .toast-icon {
    color: var(--accent);
}
.toast-message {
    font-size: 14px;
    font-weight: 500;
}
/* =====================================================
   Loading Overlay
   ===================================================== */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    z-index: 600;
    backdrop-filter: blur(4px);
}
.loading-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid var(--bg-tertiary);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
.loading-text {
    color: white;
    font-size: 14px;
}
/* =====================================================
   Language List
   ===================================================== */
.language-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s ease;
}
.language-item:hover {
    background: var(--bg-tertiary);
}
.language-item:active {
    transform: scale(0.98);
}
.language-item.active {
    background: rgba(99, 102, 241, 0.1);
}
.language-flag {
    font-size: 28px;
}
.language-name {
    flex: 1;
    font-weight: 500;
}
.language-item i {
    color: var(--accent);
}
/* =====================================================
   Animations
   ===================================================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.animate-fade-in {
    animation: fadeIn 0.3s ease;
}
.animate-slide-up {
    animation: slideUp 0.3s ease;
}
/* =====================================================
   Scrollbar
   ===================================================== */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--text-tertiary);
}


/* =====================================================
   Network List (Modal)
   ===================================================== */
.network-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.network-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: var(--bg-tertiary);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.network-list-item:hover {
    border-color: var(--accent);
    transform: translateX(4px);
}

.network-list-item:active {
    transform: scale(0.98);
}

.network-list-item.active {
    border-color: var(--accent);
    background: rgba(99, 102, 241, 0.1);
}

.network-list-item img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

.network-list-info {
    flex: 1;
}

.network-list-name {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 2px;
}

.network-list-count {
    font-size: 12px;
    color: var(--text-tertiary);
}

.network-list-item i {
    color: var(--accent);
    font-size: 16px;
}

/* =====================================================
   Asset Select List
   ===================================================== */
.asset-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.asset-select-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: var(--bg-tertiary);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.asset-select-item:hover {
    border-color: var(--accent);
}

.asset-select-item:active {
    transform: scale(0.98);
}

.asset-select-item.active {
    border-color: var(--accent);
    background: rgba(99, 102, 241, 0.1);
}

.asset-select-item img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.asset-select-info {
    flex: 1;
}

.asset-select-symbol {
    font-weight: 600;
    font-size: 15px;
}

.asset-select-name {
    font-size: 12px;
    color: var(--text-tertiary);
}

.asset-select-balance {
    font-weight: 600;
    color: var(--text-secondary);
}

/* =====================================================
   Wallet Select List
   ===================================================== */
.wallet-select-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wallet-select-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: var(--bg-tertiary);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.wallet-select-item:hover {
    border-color: var(--accent);
}

.wallet-select-item:active {
    transform: scale(0.98);
}

.wallet-select-item.active {
    border-color: var(--accent);
    background: rgba(99, 102, 241, 0.1);
}

.wallet-select-icon img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.wallet-select-info {
    flex: 1;
}

.wallet-select-name {
    font-weight: 600;
    font-size: 14px;
}

.wallet-select-address {
    font-size: 12px;
    color: var(--text-tertiary);
    font-family: 'SF Mono', Monaco, monospace;
}

/* =====================================================
   Wallet Manage Modal
   ===================================================== */
.wallet-manage-info {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: var(--bg-tertiary);
    border-radius: var(--radius);
    margin-bottom: 20px;
}

.wallet-manage-info img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.manage-wallet-name {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 4px;
}

.manage-wallet-address {
    font-size: 12px;
    color: var(--text-tertiary);
    font-family: 'SF Mono', Monaco, monospace;
}

.wallet-manage-actions {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.manage-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 14px;
    cursor: pointer;
    border-radius: var(--radius);
    text-align: left;
    width: 100%;
    transition: all 0.2s ease;
}

.manage-btn:hover {
    background: var(--bg-tertiary);
}

.manage-btn:active {
    transform: scale(0.98);
}

.manage-btn i {
    width: 20px;
    text-align: center;
    color: var(--text-secondary);
}

.manage-btn.danger {
    color: var(--error);
}

.manage-btn.danger i {
    color: var(--error);
}

/* =====================================================
   Private Key Display
   ===================================================== */
.warning-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: var(--radius);
    margin-bottom: 16px;
}

.warning-box i {
    color: var(--error);
    font-size: 18px;
    margin-top: 2px;
}

.warning-box p {
    font-size: 13px;
    color: var(--text-primary);
    line-height: 1.5;
}

.private-key-box {
    padding: 16px;
    background: var(--bg-tertiary);
    border-radius: var(--radius);
    margin-bottom: 16px;
    word-break: break-all;
}

.private-key-box code {
    font-family: 'SF Mono', Monaco, monospace;
    font-size: 12px;
    color: var(--text-primary);
    line-height: 1.6;
}

/* =====================================================
   Fee Selector
   ===================================================== */
.fee-selector {
    display: flex;
    gap: 8px;
}

.fee-option {
    flex: 1;
    padding: 12px 8px;
    background: var(--bg-tertiary);
    border: 2px solid transparent;
    border-radius: var(--radius);
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.fee-option:hover {
    border-color: var(--accent);
}

.fee-option:active {
    transform: scale(0.98);
}

.fee-option.active {
    border-color: var(--accent);
    background: rgba(99, 102, 241, 0.1);
}

.fee-label {
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 4px;
}

.fee-value {
    font-size: 11px;
    color: var(--accent);
    margin-bottom: 2px;
    font-weight: 500;
}

.fee-time {
    font-size: 10px;
    color: var(--text-tertiary);
}

/* =====================================================
   Transaction Summary
   ===================================================== */
.tx-summary {
    background: var(--bg-tertiary);
    border-radius: var(--radius);
    padding: 16px;
    margin-top: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.summary-row:not(:last-child) {
    border-bottom: 1px solid var(--border);
}

.summary-row.total {
    padding-top: 12px;
    font-weight: 600;
    font-size: 15px;
    color: var(--text-primary);
}

/* =====================================================
   Receive Modal
   ===================================================== */
.receive-content {
    text-align: center;
}

.receive-network {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
    margin-bottom: 24px;
}

.receive-network img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.receive-network span {
    font-weight: 600;
    font-size: 14px;
}

.qr-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.qr-code {
    padding: 16px;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.qr-code canvas {
    display: block;
}

.address-display {
    margin-bottom: 20px;
}

.address-full {
    font-family: 'SF Mono', Monaco, monospace;
    font-size: 12px;
    word-break: break-all;
    color: var(--text-secondary);
    padding: 14px;
    background: var(--bg-tertiary);
    border-radius: var(--radius);
    line-height: 1.6;
}

.receive-warning {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: var(--radius);
    margin-top: 16px;
    font-size: 12px;
    color: var(--warning);
}

.receive-warning i {
    font-size: 14px;
}

/* =====================================================
   Asset Selector (Send Modal)
   ===================================================== */
.asset-selector {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--bg-tertiary);
    border: 2px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s ease;
}

.asset-selector:hover {
    border-color: var(--accent);
}

.asset-selector:active {
    transform: scale(0.99);
}

.asset-selector img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.asset-info {
    flex: 1;
}

.asset-symbol {
    font-weight: 600;
    font-size: 15px;
}

.asset-balance {
    font-size: 13px;
    color: var(--text-secondary);
}

.asset-selector > i {
    color: var(--text-tertiary);
    font-size: 12px;
}


/* =====================================================
   Fee Loading
   ===================================================== */
.fee-loading {
    padding: 24px;
    text-align: center;
    background: var(--bg-tertiary);
    border-radius: var(--radius);
}

.fee-loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
}

.fee-loading-spinner i {
    font-size: 24px;
    color: var(--accent);
}

.fee-loading-spinner span {
    font-size: 14px;
}

/* 按钮加载状态 */
.btn.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.8;
}

.btn.loading span {
    visibility: hidden;
}

.btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* Token item loading skeleton */
.token-skeleton {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: var(--bg-secondary);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.skeleton {
    background: linear-gradient(90deg, var(--bg-tertiary) 25%, var(--bg-secondary) 50%, var(--bg-tertiary) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
}

.skeleton-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

.skeleton-text {
    height: 14px;
    width: 100px;
}

.skeleton-text-sm {
    height: 12px;
    width: 60px;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}



/* =====================================================
   Transaction List
   ===================================================== */
.transaction-section {
    margin-bottom: 24px;
}

.transaction-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.transaction-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: var(--bg-secondary);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all 0.2s ease;
}

.transaction-item:hover {
    border-color: var(--accent);
}

.tx-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.tx-icon.receive {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
}

.tx-icon.send {
    background: rgba(239, 68, 68, 0.15);
    color: var(--error);
}

.tx-info {
    flex: 1;
}

.tx-type {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 2px;
}

.tx-address {
    font-size: 12px;
    color: var(--text-tertiary);
    font-family: 'SF Mono', Monaco, monospace;
}

.tx-amount {
    text-align: right;
}

.tx-value {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 2px;
}

.tx-value.receive {
    color: var(--success);
}

.tx-value.send {
    color: var(--error);
}

.tx-time {
    font-size: 12px;
    color: var(--text-tertiary);
}


/* =====================================================
   Empty Transactions State
   ===================================================== */
.empty-transactions {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    text-align: center;
}

.empty-transactions-icon {
    width: 72px;
    height: 72px;
    background: var(--bg-tertiary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.empty-transactions-icon i {
    font-size: 28px;
    color: var(--text-tertiary);
    opacity: 0.6;
}

.empty-transactions p {
    font-size: 14px;
    color: var(--text-tertiary);
    margin: 0;
}


/* =====================================================
   Privacy Tips
   ===================================================== */
.privacy-tips-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.privacy-tip-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    background: var(--bg-tertiary);
    border-radius: var(--radius);
    transition: all 0.2s ease;
}

.privacy-tip-item:hover {
    background: rgba(99, 102, 241, 0.08);
}

.privacy-tip-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: rgba(99, 102, 241, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.privacy-tip-icon i {
    font-size: 14px;
}

.privacy-tip-text {
    flex: 1;
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-primary);
}

@media (max-width: 380px) {
    .privacy-tip-item {
        padding: 12px;
        gap: 10px;
    }

    .privacy-tip-icon {
        width: 32px;
        height: 32px;
        min-width: 32px;
    }

    .privacy-tip-icon i {
        font-size: 12px;
    }

    .privacy-tip-text {
        font-size: 12px;
    }
}