/* Exodus Wallet CSS - Exact Exodus Style Dark Theme */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    background: linear-gradient(135deg, #17191b 0%, #1a1c1e 50%, #1e2022 100%);
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 120%;
    height: 120%;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(138, 43, 226, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(0, 255, 255, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 40% 80%, rgba(255, 0, 150, 0.04) 0%, transparent 40%),
        radial-gradient(ellipse at 70% 20%, rgba(98, 126, 234, 0.05) 0%, transparent 45%);
    pointer-events: none;
    z-index: -1;
    animation: backgroundShift 12s ease-in-out infinite;
    transform-origin: center center;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, transparent 0%, rgba(138, 43, 226, 0.02) 25%, transparent 50%, rgba(0, 255, 255, 0.02) 75%, transparent 100%);
    pointer-events: none;
    z-index: -1;
    animation: floatingGradient 20s linear infinite;
}

@keyframes backgroundShift {
    0% { transform: rotate(0deg) scale(1); opacity: 0.8; }
    25% { transform: rotate(5deg) scale(1.1); opacity: 1; }
    50% { transform: rotate(0deg) scale(1.05); opacity: 0.6; }
    75% { transform: rotate(-5deg) scale(1.08); opacity: 0.9; }
    100% { transform: rotate(0deg) scale(1); opacity: 0.8; }
}

@keyframes floatingGradient {
    0% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(1deg); }
    50% { transform: translateY(-10px) rotate(0deg); }
    75% { transform: translateY(-30px) rotate(-1deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* Floating Particles Effect */
.floating-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.floating-particles::before,
.floating-particles::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(138, 43, 226, 0.6);
    border-radius: 50%;
    animation: floatParticles 8s linear infinite;
}

.floating-particles::before {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    box-shadow: 
        200px 300px 0 rgba(0, 255, 255, 0.4),
        400px 100px 0 rgba(255, 0, 150, 0.3),
        600px 500px 0 rgba(138, 43, 226, 0.5),
        800px 200px 0 rgba(98, 126, 234, 0.4),
        1000px 400px 0 rgba(0, 255, 255, 0.3);
}

.floating-particles::after {
    top: 40%;
    right: 20%;
    animation-delay: 4s;
    box-shadow: 
        -150px 200px 0 rgba(255, 0, 150, 0.3),
        -350px 400px 0 rgba(138, 43, 226, 0.4),
        -550px 100px 0 rgba(0, 255, 255, 0.5),
        -750px 300px 0 rgba(98, 126, 234, 0.3),
        -950px 500px 0 rgba(255, 0, 150, 0.4);
}

@keyframes floatParticles {
    0% { transform: translateY(0px) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) rotate(360deg); opacity: 0; }
}

/* Main Header - Exodus Style */
.main-header {
    background: linear-gradient(145deg, #0c0e0f 0%, #0f1112 100%);
    backdrop-filter: blur(30px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 101;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.main-header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 24px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #ffffff;
}

.header-logo-icon {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at center, rgba(138, 43, 226, 0.1) 0%, transparent 70%);
    box-shadow: 
        0 0 25px rgba(138, 43, 226, 0.5),
        0 0 50px rgba(0, 188, 212, 0.3);
}

.header-logo-icon::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    background: conic-gradient(from 0deg, #1a1a1a, #2a2a2a, #202020, #2e2e2e, #1a1a1a);
    border-radius: 12px;
    z-index: -1;
    animation: logoGlow 4s linear infinite;
    opacity: 0.8;
}

@keyframes logoGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.header-logo-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 8px;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.4));
}

.header-logo-text {
    display: none;
}

.total-balance {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 600;
}

.total-balance-amount {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

.refresh-btn {
    background: transparent;
    border: none;
    border-radius: 8px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #888;
    position: relative;
    overflow: hidden;
}

.refresh-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.refresh-btn:hover::before {
    transform: translateX(100%);
}

.refresh-btn:hover {
    background: rgba(136, 136, 136, 0.1);
    color: #aaa;
    transform: rotate(180deg);
}

.refresh-btn i {
    font-size: 18px;
    transition: all 0.3s ease;
}

.refresh-btn:active {
    transform: scale(0.95) rotate(360deg);
    color: #bbb;
}

.header-center {
    display: flex;
    gap: 6px;
}

.header-nav-item {
    padding: 12px 20px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.header-nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(138, 43, 226, 0.1), transparent);
    transition: left 0.6s;
}

.header-nav-item:hover::before {
    left: 100%;
}

.header-nav-item:hover {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(138, 43, 226, 0.08);
    text-decoration: none;
}

.header-nav-item.active {
    color: #8a2be2;
    background: rgba(138, 43, 226, 0.12);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
}

.user-info {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    font-weight: 500;
}

.user-info a {
    color: #8a2be2;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.user-info a:hover {
    color: #9370db;
    text-shadow: 0 0 8px rgba(138, 43, 226, 0.5);
}

.logout-form {
    display: inline;
    margin-left: 10px;
}

.username {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    margin-right: 4px;
}

.logout-btn {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.2), rgba(147, 112, 219, 0.2));
    border: 1px solid rgba(138, 43, 226, 0.3);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.8);
    padding: 6px 12px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.logout-btn:hover {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.3), rgba(147, 112, 219, 0.3));
    border-color: rgba(138, 43, 226, 0.5);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(138, 43, 226, 0.2);
}

.logout-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(138, 43, 226, 0.3);
}

.logout-btn i {
    font-size: 11px;
}

/* Crypto Navigation - Updated Style */
.crypto-nav {
    background: rgba(12, 14, 15, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(138, 43, 226, 0.08);
    padding: 0;
    position: sticky;
    top: 72px;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.crypto-tabs {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0 24px;
    min-height: 60px;
    align-items: center;
    justify-content: center;
}

.crypto-tabs::-webkit-scrollbar {
    display: none;
}

.crypto-tab {
    flex: 0 0 auto;
    padding: 18px 16px;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    margin: 0 2px;
}

.crypto-tab::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #8a2be2, #9370db);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.crypto-tab:hover {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transform: translateY(-1px);
}

.crypto-tab:hover::before {
    width: 100%;
}

.crypto-tab.active {
    color: #8a2be2;
    border-bottom-color: transparent;
}

.crypto-tab.active::before {
    width: 100%;
}

/* Main Container */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Balance Card - Exact Exodus Style */
.balance-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0.005));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 80px 60px;
    text-align: center;
    margin-bottom: 50px;
    backdrop-filter: blur(30px);
    position: relative;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.balance-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(145deg, rgba(138, 43, 226, 0.008) 0%, transparent 50%);
    border-radius: 24px;
    pointer-events: none;
}

.network-info {
    position: absolute;
    top: 20px;
    right: 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    font-weight: 500;
    backdrop-filter: blur(10px);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    z-index: 5;
}

.network-info:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
}

.crypto-icon {
    width: 96px;
    height: 96px;
    margin: 0 auto 40px;
    background: linear-gradient(135deg, #8a2be2 0%, #9370db 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 
        0 8px 32px rgba(138, 43, 226, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.crypto-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.crypto-icon::before {
    content: '₿';
    font-size: 48px;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Hide ::before when image exists */
.crypto-icon.has-image::before {
    display: none;
}

/* Different crypto icons with proper colors */
.crypto-icon-btc {
    background: linear-gradient(135deg, #f7931a 0%, #ff8c00 100%);
    box-shadow: 0 8px 32px rgba(247, 147, 26, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.crypto-icon-btc::before { content: '₿'; }

.crypto-icon-eth {
    background: linear-gradient(135deg, #627eea 0%, #5a67d8 100%);
    box-shadow: 0 8px 32px rgba(98, 126, 234, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.crypto-icon-eth::before { content: 'Ξ'; }

.crypto-icon-usdt {
    background: linear-gradient(135deg, #26a17b 0%, #22946c 100%);
    box-shadow: 0 8px 32px rgba(38, 161, 123, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.crypto-icon-usdt::before { content: '₮'; }

.crypto-icon-trx {
    background: linear-gradient(135deg, #ff0013 0%, #d40010 100%);
    box-shadow: 0 8px 32px rgba(255, 0, 19, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.crypto-icon-trx::before { content: 'T'; }

.crypto-icon-usdc {
    background: linear-gradient(135deg, #2775ca 0%, #1e5f9f 100%);
    box-shadow: 0 8px 32px rgba(39, 117, 202, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.crypto-icon-usdc::before { content: '$'; }

.crypto-icon-wbtc {
    background: linear-gradient(135deg, #8a2be2 0%, #9370db 100%);
    box-shadow: 0 8px 32px rgba(138, 43, 226, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.crypto-icon-wbtc::before { content: '₿'; }

.balance-amount {
    font-size: 64px;
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 8px;
    letter-spacing: -2px;
    line-height: 1;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.balance-symbol {
    font-size: 32px;
    color: rgba(255, 255, 255, 0.9);
    margin-left: 12px;
    font-weight: 500;
    letter-spacing: 1px;
}

.balance-usd {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 50px;
    font-weight: 400;
}

/* Action Buttons - Enhanced Glass Style */
.action-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-bottom: 30px;
}

.btn-action {
    padding: 16px 40px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(20px);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    min-width: 120px;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-action::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.8s ease;
}

.btn-action:hover::before {
    left: 100%;
}

.btn-action:hover {
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 12px 35px rgba(0, 0, 0, 0.15),
        0 0 25px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-send {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    width: 140px;
    height: 56px;
    min-width: 140px;
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
}

.btn-send::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.8s ease;
}

.btn-send:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.6);
    color: #ffffff;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 
        0 10px 30px rgba(255, 255, 255, 0.1),
        0 0 20px rgba(255, 255, 255, 0.05);
}

.btn-send:hover::before {
    left: 100%;
}

.btn-receive {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    width: 140px;
    height: 56px;
    min-width: 140px;
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
}

.btn-receive::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.8s ease;
}

.btn-receive:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.6);
    color: #ffffff;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 
        0 10px 30px rgba(255, 255, 255, 0.1),
        0 0 20px rgba(255, 255, 255, 0.05);
}

.btn-receive:hover::before {
    left: 100%;
}

/* Swap button removed per user request */

/* Content Tabs - Exact Exodus Style */
.content-tabs {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0.005));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    margin-bottom: 50px;
    backdrop-filter: blur(30px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.tab-navigation {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.008);
}

.tab-nav-item {
    flex: 1;
    padding: 24px 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 2px solid transparent;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.tab-nav-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #8a2be2, #9370db);
    transition: width 0.4s ease;
}

.tab-nav-item:hover {
    color: rgba(255, 255, 255, 0.7);
    background: rgba(138, 43, 226, 0.02);
}

.tab-nav-item.active {
    color: #8a2be2;
    border-bottom-color: transparent;
    background: rgba(138, 43, 226, 0.03);
}

.tab-nav-item.active::before {
    width: 100%;
}

.tab-content {
    padding: 40px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
}

/* Recent Transactions in Dashboard */
.recent-transactions {
    text-align: left;
}

.recent-transaction-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    gap: 16px;
}

.recent-transaction-item:last-child {
    border-bottom: none;
}

.recent-transaction-item.status-pending {
    border-left: 2px solid #ffc107;
    padding-left: 16px;
}

.recent-transaction-item.status-success {
    border-left: 2px solid #4caf50;
    padding-left: 16px;
}

.recent-transaction-item.status-error {
    border-left: 2px solid #f44336;
    padding-left: 16px;
}

.transaction-info {
    flex: 1;
}

.transaction-type-recent {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 4px;
}

.type-badge-small {
    background: rgba(138, 43, 226, 0.15);
    color: #8a2be2;
    padding: 2px 8px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.type-badge-small.type-send {
    background: rgba(244, 67, 54, 0.15);
    color: #f44336;
}

.type-badge-small.type-receive {
    background: rgba(76, 175, 80, 0.15);
    color: #4caf50;
}

.type-badge-small.type-deposit {
    background: rgba(33, 150, 243, 0.15);
    color: #2196f3;
}

.transaction-time-recent {
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
}

.transaction-hash-recent {
    color: rgba(255, 255, 255, 0.3);
    font-size: 9px;
    font-family: monospace;
}

.transaction-address-recent {
    color: rgba(255, 255, 255, 0.3);
    font-size: 9px;
    font-family: monospace;
    margin-top: 2px;
}

.transaction-amount-recent {
    text-align: right;
    margin-right: 16px;
}

.crypto-amount-recent {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
}

.usd-amount-recent {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
}

.transaction-status-recent {
    min-width: 80px;
    text-align: center;
}

.status-badge-small {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.status-badge-small.status-pending {
    background: rgba(255, 193, 7, 0.15);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.2);
}

.status-badge-small.status-success {
    background: rgba(76, 175, 80, 0.15);
    color: #4caf50;
    border: 1px solid rgba(76, 175, 80, 0.2);
}

.status-badge-small.status-error {
    background: rgba(244, 67, 54, 0.15);
    color: #f44336;
    border: 1px solid rgba(244, 67, 54, 0.2);
}

.view-all-transactions {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.view-all-btn {
    color: #8a2be2;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 16px;
    border: 1px solid rgba(138, 43, 226, 0.3);
    border-radius: 20px;
    transition: all 0.3s ease;
    display: inline-block;
}

.view-all-btn:hover {
    background: rgba(138, 43, 226, 0.1);
    border-color: rgba(138, 43, 226, 0.5);
    text-decoration: none;
    color: #9370db;
}

.error-message-recent {
    color: #f44336;
    font-size: 11px;
    margin-top: 4px;
    line-height: 1.3;
}

.error-details-recent {
    margin-top: 6px;
    cursor: pointer;
}

.error-toggle-recent {
    color: #8a2be2;
    font-size: 11px;
    text-decoration: underline;
    font-weight: 600;
}

.btn-view-details-recent {
    background: linear-gradient(135deg, #8a2be2, #9370db);
    border: none;
    border-radius: 8px;
    color: #ffffff;
    padding: 6px 12px;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(138, 43, 226, 0.3);
}

.btn-view-details-recent:hover {
    background: linear-gradient(135deg, #9370db, #8a2be2);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(138, 43, 226, 0.4);
}

.error-full-message-recent {
    margin-top: 8px;
    padding: 8px 12px;
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid rgba(244, 67, 54, 0.2);
    border-radius: 6px;
    color: #f44336;
    font-size: 11px;
    line-height: 1.4;
    max-width: 250px;
    word-wrap: break-word;
}

/* Price Charts Section - Exact Exodus Style */
.price-charts {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0.005));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 50px;
    backdrop-filter: blur(30px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.price-charts h3 {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Authentication Forms - Exact Exodus Style */
.auth-container {
    max-width: 450px;
    margin: 80px auto;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.008));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 50px;
    backdrop-filter: blur(30px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    position: relative;
}

.auth-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(145deg, rgba(255, 165, 0, 0.008) 0%, transparent 50%);
    border-radius: 24px;
    pointer-events: none;
}

.auth-title {
    text-align: center;
    color: #ffffff;
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 40px;
    letter-spacing: -1px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 165, 0, 0.15);
    border-radius: 12px;
    color: #ffffff;
    font-size: 16px;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.form-input:focus {
    outline: none;
    border-color: #8a2be2;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.2);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.btn-primary {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #8a2be2, #9370db);
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(138, 43, 226, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(138, 43, 226, 0.4);
    background: linear-gradient(135deg, #9370db, #8a2be2);
}

.auth-links {
    text-align: center;
    margin-top: 20px;
}

.auth-links a {
    color: #8a2be2;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.auth-links a:hover {
    color: #9370db;
    text-decoration: none;
    text-shadow: 0 0 8px rgba(138, 43, 226, 0.5);
}

/* Modal - Exact Exodus Style */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: linear-gradient(145deg, rgba(12, 14, 15, 0.98), rgba(23, 25, 27, 0.95));
    margin: 2% auto;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    width: 95%;
    max-width: 600px;
    max-height: 95vh;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(30px);
    position: relative;
    animation: slideUp 0.4s ease;
}

.modal-content .modal-header {
    border-radius: 20px 20px 0 0;
    overflow: hidden;
    margin: -30px -30px 20px -30px;
    padding: 30px 30px 20px 30px;
    background: inherit;
}

.modal-content .alerts-list {
    overflow-y: auto;
    max-height: calc(90vh - 200px);
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(145deg, rgba(255, 165, 0, 0.015) 0%, transparent 50%);
    border-radius: 24px;
    pointer-events: none;
}

.modal-header {
    margin-bottom: 40px;
}

.modal-title {
    color: #ffffff;
    font-size: 28px;
    font-weight: 300;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.modal-subtitle {
    color: rgba(255, 255, 255, 0.5);
    font-size: 16px;
    font-weight: 400;
}

.address-container {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.008));
    border: 1px solid rgba(138, 43, 226, 0.15);
    border-radius: 16px;
    padding: 25px;
    margin: 30px 0;
    word-break: break-all;
    font-family: 'SF Mono', 'Monaco', 'Cascadia Code', 'Roboto Mono', monospace;
    color: #8a2be2;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.address-container:hover {
    background: linear-gradient(145deg, rgba(138, 43, 226, 0.03), rgba(138, 43, 226, 0.015));
    border-color: rgba(138, 43, 226, 0.25);
    transform: scale(1.02);
}

.close {
    color: rgba(255, 255, 255, 0.5);
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 32px;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.close:hover {
    color: #ffa500;
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-header-content {
        flex-direction: column;
        justify-content: center;
        position: static;
        padding: 16px;
        gap: 16px;
    }
    
    .header-left {
        position: static;
        transform: none;
        gap: 12px;
        justify-content: center;
        width: 100%;
    }
    
    .header-center {
        display: flex;
        justify-content: center;
        width: 100%;
        gap: 4px;
    }
    
    .header-nav-item {
        padding: 10px 16px;
        font-size: 12px;
    }
    
    .header-right {
        position: static;
        transform: none;
        gap: 8px;
        justify-content: center;
        width: 100%;
    }
    
    .crypto-nav {
        top: 140px;
    }
    
    .crypto-tabs {
        padding: 0 16px;
    }
    
    .main-container {
        padding: 20px 15px;
    }
    
    .balance-card {
        padding: 40px 20px;
    }
    
    .balance-amount {
        font-size: 36px;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-action {
        width: 200px;
    }
    
    .btn-swap {
        margin-top: 10px;
    }
    
    /* Modal responsive */
    .modal-content {
        margin: 1% auto;
        padding: 20px;
        width: 98%;
        max-height: 98vh;
    }
    
    .modal-header {
        margin-bottom: 20px;
    }
    
    .modal-title {
        font-size: 22px;
    }
    
    .send-form .form-group {
        margin-bottom: 15px;
    }
}

/* Loading Animation */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.loading {
    animation: pulse 2s infinite;
}

/* Portfolio Styles */
.portfolio-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0.005));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 60px;
    margin-bottom: 40px;
    backdrop-filter: blur(30px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.portfolio-chart-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.donut-chart-container {
    position: relative;
    width: 400px;
    height: 400px;
}

.donut-chart {
    position: relative;
    width: 100%;
    height: 100%;
}

.donut-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.donut-segment {
    transition: all 0.3s ease;
    stroke-linecap: round;
}

.donut-segment.crypto-btc {
    stroke: #f7931a;
    filter: drop-shadow(0 0 8px rgba(247, 147, 26, 0.4));
}

.donut-segment.crypto-eth {
    stroke: #627eea;
    filter: drop-shadow(0 0 8px rgba(98, 126, 234, 0.4));
}

.donut-segment.crypto-usdt {
    stroke: #26a17b;
    filter: drop-shadow(0 0 8px rgba(38, 161, 123, 0.4));
}

.donut-segment.crypto-trx {
    stroke: #ff0013;
    filter: drop-shadow(0 0 8px rgba(255, 0, 19, 0.4));
}

.donut-segment.crypto-usdc {
    stroke: #2775ca;
    filter: drop-shadow(0 0 8px rgba(39, 117, 202, 0.4));
}

.donut-segment.crypto-wbtc {
    stroke: #8a2be2;
    filter: drop-shadow(0 0 8px rgba(138, 43, 226, 0.4));
}

.donut-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
}

.donut-amount {
    font-size: 36px;
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 8px;
    letter-spacing: -1px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    line-height: 1;
}

.donut-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.empty-donut-chart {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.empty-donut {
    width: 380px;
    height: 380px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
}

.time-period-selector {
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 8px;
    backdrop-filter: blur(10px);
}

.time-btn {
    padding: 12px 20px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 60px;
}

.time-btn:hover {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.08);
}

.time-btn.active {
    color: #8a2be2;
    background: rgba(138, 43, 226, 0.15);
    box-shadow: 0 2px 8px rgba(138, 43, 226, 0.2);
}

.portfolio-stats {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
    width: 100%;
    max-width: 1000px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.stat-value {
    font-size: 18px;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.stat-value.positive {
    color: #4caf50;
}

.stat-value.negative {
    color: #f44336;
}

/* Assets Breakdown */
.assets-breakdown {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0.005));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 40px;
    backdrop-filter: blur(30px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.breakdown-title {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    letter-spacing: 0.5px;
}

.assets-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.asset-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.asset-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.asset-info {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.asset-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
    position: relative;
    transition: all 0.3s ease;
}

.asset-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.asset-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.asset-name {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.asset-symbol {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
}

.asset-balance {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    flex: 1;
}

.asset-amount {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.asset-usd {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    font-weight: 500;
}

.asset-percentage {
    color: #8a2be2;
    font-size: 18px;
    font-weight: 700;
    min-width: 80px;
    text-align: right;
    letter-spacing: 0.5px;
}

/* Empty Portfolio */
.empty-portfolio {
    text-align: center;
    padding: 80px 40px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0.005));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    backdrop-filter: blur(30px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.empty-icon {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-portfolio h3 {
    color: #ffffff;
    font-size: 28px;
    font-weight: 300;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.empty-portfolio p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Account History Styles */
.account-overview {
    margin-bottom: 40px;
}

.page-title {
    color: #ffffff;
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 30px;
    text-align: center;
    letter-spacing: -1px;
}

.summary-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0.005));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.stat-card.success {
    border-color: rgba(76, 175, 80, 0.3);
    background: linear-gradient(145deg, rgba(76, 175, 80, 0.05), rgba(76, 175, 80, 0.02));
}

.stat-card.pending {
    border-color: rgba(255, 193, 7, 0.3);
    background: linear-gradient(145deg, rgba(255, 193, 7, 0.05), rgba(255, 193, 7, 0.02));
}

.stat-card.error {
    border-color: rgba(244, 67, 54, 0.3);
    background: linear-gradient(145deg, rgba(244, 67, 54, 0.05), rgba(244, 67, 54, 0.02));
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.transaction-filters {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0.005));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 20px;
    backdrop-filter: blur(20px);
    margin-bottom: 30px;
}

.filter-form {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-group label {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    font-size: 14px;
    min-width: 80px;
}

.filter-select {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: #ffffff;
    padding: 10px 16px;
    font-size: 14px;
    min-width: 180px;
    transition: all 0.3s ease;
}

.filter-select:focus {
    outline: none;
    border-color: #8a2be2;
    background: rgba(255, 255, 255, 0.12);
}

.filter-btn {
    background: linear-gradient(135deg, #8a2be2, #9370db);
    border: none;
    border-radius: 8px;
    color: #ffffff;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.filter-btn:hover {
    background: linear-gradient(135deg, #9370db, #8a2be2);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(138, 43, 226, 0.3);
}

.filter-btn.clear-btn {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.filter-btn.clear-btn:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
    border-color: rgba(255, 255, 255, 0.3);
}

.transaction-history {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0.005));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 0;
    backdrop-filter: blur(30px);
    overflow: hidden;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

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

.transaction-item {
    display: flex;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    gap: 20px;
}

.transaction-item:last-child {
    border-bottom: none;
}

.transaction-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.transaction-item.status-pending {
    border-left: 3px solid #ffc107;
}

.transaction-item.status-success {
    border-left: 3px solid #4caf50;
}

.transaction-item.status-error {
    border-left: 3px solid #f44336;
}

.transaction-icon {
    flex-shrink: 0;
}

.transaction-icon .crypto-icon {
    width: 48px;
    height: 48px;
    font-size: 24px;
}

.transaction-details {
    flex: 1;
    min-width: 0;
}

.transaction-type {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 4px;
}

.type-badge {
    background: rgba(138, 43, 226, 0.15);
    color: #8a2be2;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.type-badge.type-send {
    background: rgba(244, 67, 54, 0.15);
    color: #f44336;
}

.type-badge.type-receive {
    background: rgba(76, 175, 80, 0.15);
    color: #4caf50;
}

.type-badge.type-deposit {
    background: rgba(33, 150, 243, 0.15);
    color: #2196f3;
}

.currency-name {
    color: #ffffff;
    font-weight: 600;
    font-size: 16px;
}

.transaction-time {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    margin-bottom: 4px;
}

.transaction-hash {
    color: rgba(255, 255, 255, 0.4);
    font-size: 9px;
    font-family: monospace;
}

.transaction-address {
    color: rgba(255, 255, 255, 0.4);
    font-size: 9px;
    font-family: monospace;
    margin-top: 2px;
}

.error-message {
    color: #f44336;
    font-size: 12px;
    margin-top: 4px;
}

.transaction-amount {
    text-align: right;
    margin-right: 20px;
}

.crypto-amount {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.usd-amount {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.transaction-status {
    text-align: center;
    min-width: 120px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.status-pending {
    background: rgba(255, 193, 7, 0.15);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.status-badge.status-success {
    background: rgba(76, 175, 80, 0.15);
    color: #4caf50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.status-badge.status-error {
    background: rgba(244, 67, 54, 0.15);
    color: #f44336;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

.status-icon {
    font-size: 14px;
}

.error-details {
    margin-top: 8px;
    cursor: pointer;
}

.error-toggle {
    color: #8a2be2;
    font-size: 12px;
    text-decoration: underline;
}

.btn-view-details {
    background: linear-gradient(135deg, #8a2be2, #9370db);
    border: none;
    border-radius: 8px;
    color: #ffffff;
    padding: 8px 14px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(138, 43, 226, 0.3);
}

.btn-view-details:hover {
    background: linear-gradient(135deg, #9370db, #8a2be2);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(138, 43, 226, 0.4);
}

/* Transaction Details Modal */
.transaction-details-content {
    padding: 20px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 600;
    min-width: 120px;
}

.detail-value {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    text-align: right;
    flex: 1;
    word-break: break-all;
}

.detail-value.status-success {
    color: #4caf50;
    font-weight: 600;
}

.detail-value.status-pending {
    color: #ffc107;
    font-weight: 600;
}

.detail-value.status-error {
    color: #f44336;
    font-weight: 600;
}

.hash-value, .address-value {
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: monospace;
    font-size: 12px;
    background: rgba(138, 43, 226, 0.1);
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid rgba(138, 43, 226, 0.3);
}

.hash-value:hover, .address-value:hover {
    background: rgba(138, 43, 226, 0.2);
    border-color: rgba(138, 43, 226, 0.5);
    transform: scale(1.02);
}

.modal-footer {
    padding: 15px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.error-full-message {
    margin-top: 8px;
    padding: 12px;
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid rgba(244, 67, 54, 0.2);
    border-radius: 8px;
    color: #f44336;
    font-size: 12px;
    line-height: 1.4;
}

.pagination-container {
    padding: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.page-link {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.page-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.page-info {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin: 0 16px;
}

.empty-transactions {
    text-align: center;
    padding: 80px 40px;
}

.empty-transactions .empty-icon {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-transactions h3 {
    color: #ffffff;
    font-size: 28px;
    font-weight: 300;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.empty-transactions p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Responsive Design for Portfolio */
@media (max-width: 768px) {
    .portfolio-card {
        padding: 40px 20px;
        gap: 30px;
    }
    
    .donut-chart-container {
        width: 320px;
        height: 320px;
    }
    
    .donut-amount {
        font-size: 28px;
    }
    
    .portfolio-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-item {
        padding: 16px 12px;
    }
    
    .asset-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 20px;
    }
    
    .asset-info {
        width: 100%;
    }
    
    .asset-balance {
        align-items: flex-start;
        width: 100%;
    }
    
    .asset-percentage {
        align-self: flex-end;
        text-align: left;
    }
    
    /* Account History Mobile */
    .summary-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .filter-form {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    
    .filter-group {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    
    .filter-group label {
        min-width: auto;
    }
    
    .filter-select {
        min-width: auto;
    }
    
    .transaction-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 20px;
    }
    
    .transaction-details {
        width: 100%;
    }
    
    .transaction-amount {
        text-align: left;
        margin-right: 0;
        width: 100%;
    }
    
    .transaction-status {
        text-align: left;
        min-width: auto;
        width: 100%;
    }
}

/* Celebration Animation Styles */
.celebration-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.celebration-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.celebration-content {
    text-align: center;
    transform: translateY(50px);
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.celebration-overlay.active .celebration-content {
    transform: translateY(0);
}

.celebration-icon {
    font-size: 120px;
    margin-bottom: 30px;
    animation: celebrationBounce 2s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.celebration-icon img {
    width: 96px;
    height: 96px;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.celebration-icon .crypto-icon {
    animation: celebrationBounce 2s ease-in-out;
}



.celebration-title {
    color: #ffffff;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    animation: celebrationPulse 2s ease-in-out;
}

.celebration-message {
    color: rgba(255, 255, 255, 0.9);
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 15px;
    line-height: 1.4;
}

.celebration-amount {
    color: #4caf50;
    font-size: 36px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(76, 175, 80, 0.5);
    animation: celebrationGlow 2s ease-in-out infinite alternate;
}

/* Fireworks Animation */
.fireworks {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.firework {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    animation: fireworkExplode 2s ease-out forwards;
}

.firework.color-1 { background: linear-gradient(45deg, #ff6b6b, #feca57); }
.firework.color-2 { background: linear-gradient(45deg, #48dbfb, #0abde3); }
.firework.color-3 { background: linear-gradient(45deg, #ff9ff3, #f368e0); }
.firework.color-4 { background: linear-gradient(45deg, #54a0ff, #2e86de); }
.firework.color-5 { background: linear-gradient(45deg, #5f27cd, #8d0cf5); }
.firework.color-6 { background: linear-gradient(45deg, #00d2d3, #01a3a4); }

/* Sparkles */
.sparkle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #ffffff;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    animation: sparkleFloat 3s ease-in-out infinite;
}

/* Confetti */
.confetti {
    position: absolute;
    width: 8px;
    height: 12px;
    animation: confettiFall 4s linear infinite;
}

.confetti.rect { background: #ff6b6b; }
.confetti.circle { 
    border-radius: 50%; 
    background: #4ecdc4; 
    width: 8px;
    height: 8px;
}
.confetti.triangle {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 8px solid #ffe66d;
}

/* Animation Keyframes */
@keyframes celebrationBounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-30px); }
    60% { transform: translateY(-15px); }
}

@keyframes celebrationPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes celebrationGlow {
    from { text-shadow: 0 2px 10px rgba(76, 175, 80, 0.5); }
    to { text-shadow: 0 2px 20px rgba(76, 175, 80, 0.8), 0 0 30px rgba(76, 175, 80, 0.3); }
}

@keyframes fireworkExplode {
    0% {
        transform: scale(0) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: scale(1.5) rotate(180deg);
        opacity: 0.8;
    }
    100% {
        transform: scale(3) rotate(360deg);
        opacity: 0;
    }
}

@keyframes sparkleFloat {
    0%, 100% { 
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    25% { 
        transform: translateY(-20px) rotate(90deg);
        opacity: 0.7;
    }
    50% { 
        transform: translateY(-10px) rotate(180deg);
        opacity: 1;
    }
    75% { 
        transform: translateY(-30px) rotate(270deg);
        opacity: 0.7;
    }
}

@keyframes confettiFall {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Success Celebration Variants */
.celebration-success {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(76, 175, 80, 0.05));
}

.celebration-error {
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.1), rgba(244, 67, 54, 0.05));
}

.celebration-pending {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(255, 193, 7, 0.05));
}

/* Login/Registration Page Styles */
.floating-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.floating-particles::before,
.floating-particles::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

.floating-particles::before {
    background: linear-gradient(45deg, #8a2be2, #00ffff);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-particles::after {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    bottom: 20%;
    right: 10%;
    animation-delay: 10s;
}

/* Animated Logo */
.auth-logo-container {
    text-align: center;
    margin-bottom: 30px;
    animation: logoFadeIn 1s ease-out;
}

.auth-logo-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    position: relative;
    border-radius: 12px;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a, #202020, #2e2e2e);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    animation: logoGlowAuth 4s ease-in-out infinite;
}

.auth-logo-icon::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, #8a2be2, #00ffff, #8a2be2, #00ffff);
    border-radius: 18px;
    opacity: 0.8;
    z-index: -1;
    animation: logoRotateAuth 4s linear infinite;
}

.auth-logo-icon img {
    width: 50px;
    height: 50px;
    z-index: 1;
    filter: drop-shadow(0 2px 10px rgba(138, 43, 226, 0.3));
}

.auth-logo-text {
    font-size: 18px;
    font-weight: 700;
    background: linear-gradient(45deg, #8a2be2, #00ffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
    animation: textPulse 3s ease-in-out infinite;
}

@keyframes logoFadeIn {
    0% { opacity: 0; transform: translateY(-20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes logoGlowAuth {
    0%, 100% { box-shadow: 0 0 20px rgba(138, 43, 226, 0.3); }
    50% { box-shadow: 0 0 30px rgba(0, 255, 255, 0.4); }
}

@keyframes logoRotateAuth {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes textPulse {
    0%, 100% { opacity: 0.9; }
    50% { opacity: 1; }
}

/* Auth Title */
.auth-title {
    font-size: 32px;
    font-weight: 800;
    text-align: center;
    color: #ffffff;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #ffffff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleSlideIn 1s ease-out 0.3s both;
}

.auth-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    margin-bottom: 40px;
    animation: subtitleSlideIn 1s ease-out 0.5s both;
}

@keyframes titleSlideIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes subtitleSlideIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Alert Messages */
.auth-alert {
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    animation: alertSlideIn 0.5s ease-out;
}

.auth-alert-error {
    background: rgba(231, 76, 60, 0.15);
    border: 1px solid rgba(231, 76, 60, 0.3);
    color: #ff6b6b;
}

.auth-alert-success {
    background: rgba(76, 175, 80, 0.15);
    border: 1px solid rgba(76, 175, 80, 0.3);
    color: #4caf50;
}

.auth-alert i {
    font-size: 16px;
}

@keyframes alertSlideIn {
    0% { opacity: 0; transform: translateX(-20px); }
    100% { opacity: 1; transform: translateX(0); }
}

/* Form Styles */
.auth-form {
    animation: formSlideIn 1s ease-out 0.7s both;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-label i {
    color: #8a2be2;
    font-size: 16px;
}

.input-container {
    position: relative;
}

.auth-container input[type="text"],
.auth-container input[type="password"],
.auth-container input[type="email"] {
    width: 100%;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #ffffff;
    font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.auth-container input:focus {
    outline: none;
    border-color: #8a2be2;
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(138, 43, 226, 0.2);
}

.auth-container input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.input-focus-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #8a2be2, #00ffff);
    transition: width 0.3s ease;
    border-radius: 1px;
}

.auth-container input:focus ~ .input-focus-border {
    width: 100%;
}

.form-error {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ff6b6b;
    font-size: 14px;
    margin-top: 8px;
    animation: errorShake 0.5s ease-out;
}

.form-error i {
    font-size: 12px;
}

.form-help {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    margin-top: 8px;
    animation: helpSlideIn 0.3s ease-out;
}

.form-help i {
    font-size: 12px;
    color: #8a2be2;
}

@keyframes helpSlideIn {
    0% { opacity: 0; transform: translateY(-10px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes errorShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

@keyframes formSlideIn {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Auth Button */
.btn-auth {
    width: 100%;
    padding: 18px 20px;
    background: linear-gradient(135deg, #8a2be2, #6a1b9a);
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}

.btn-auth::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-auth:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(138, 43, 226, 0.4);
    background: linear-gradient(135deg, #9d4edd, #7b2cbf);
}

.btn-auth:hover::before {
    left: 100%;
}

.btn-auth:active {
    transform: translateY(0);
    box-shadow: 0 5px 15px rgba(138, 43, 226, 0.3);
}

.btn-auth i {
    transition: transform 0.3s ease;
}

.btn-auth:hover i {
    transform: translateX(5px);
}

/* Auth Links */
.auth-links {
    text-align: center;
    animation: linksSlideIn 1s ease-out 0.9s both;
}

.auth-links p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin: 0;
}

.auth-links a {
    color: #8a2be2;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.auth-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #8a2be2, #00ffff);
    transition: width 0.3s ease;
}

.auth-links a:hover {
    color: #00ffff;
}

.auth-links a:hover::after {
    width: 100%;
}

@keyframes linksSlideIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Background Orbs */
.auth-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.1;
    z-index: -1;
    animation: orbFloat 15s ease-in-out infinite;
}

.auth-orb-1 {
    width: 120px;
    height: 120px;
    background: linear-gradient(45deg, #8a2be2, #ff6b6b);
    top: -60px;
    right: -60px;
    animation-delay: 0s;
}

.auth-orb-2 {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #00ffff, #4ecdc4);
    bottom: -40px;
    left: -40px;
    animation-delay: 5s;
}

.auth-orb-3 {
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, #ffd700, #ff8c00);
    top: 50%;
    left: -50px;
    animation-delay: 10s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -20px) scale(1.1); }
    66% { transform: translate(-15px, 25px) scale(0.9); }
}

/* Responsive Design for Auth */
@media (max-width: 480px) {
    .auth-container {
        margin: 5vh 20px;
        padding: 30px 20px;
        max-width: none;
    }
    
    .auth-title {
        font-size: 28px;
    }
    
    .auth-logo-icon {
        width: 70px;
        height: 70px;
    }
    
    .auth-logo-icon img {
        width: 45px;
        height: 45px;
    }
    
    .auth-logo-text {
        font-size: 16px;
    }
}

/* Account Settings Page Styles */
.account-settings-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

.settings-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0.005));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    margin-bottom: 30px;
    backdrop-filter: blur(30px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
    overflow: hidden;
}

.card-header {
    background: rgba(138, 43, 226, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 25px 30px;
}

.card-header h2 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.card-header h2 i {
    color: #8a2be2;
    font-size: 18px;
}

.card-content {
    padding: 30px;
}

/* Account Information Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-item label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.info-value:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

/* Account Type and Status Badges */
.account-type, .account-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.account-type.type-personal {
    background: rgba(33, 150, 243, 0.15);
    color: #2196f3;
    border: 1px solid rgba(33, 150, 243, 0.3);
}

.account-type.type-business {
    background: rgba(255, 152, 0, 0.15);
    color: #ff9800;
    border: 1px solid rgba(255, 152, 0, 0.3);
}

.account-status.status-active {
    background: rgba(76, 175, 80, 0.15);
    color: #4caf50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.account-status.status-suspended {
    background: rgba(244, 67, 54, 0.15);
    color: #f44336;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

.account-status.status-pending_verification {
    background: rgba(255, 193, 7, 0.15);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.account-status.status-restricted {
    background: rgba(156, 39, 176, 0.15);
    color: #9c27b0;
    border: 1px solid rgba(156, 39, 176, 0.3);
}

/* Security Settings */
.security-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.security-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.security-section h3 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.security-section h3 i {
    color: #8a2be2;
    font-size: 16px;
}

.section-description {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Password Form */
.password-form {
    max-width: 500px;
}

.password-form .form-group {
    margin-bottom: 20px;
}

.password-form label {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.password-form input[type="password"] {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #ffffff;
    font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.password-form input[type="password"]:focus {
    outline: none;
    border-color: #8a2be2;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.2);
}

.btn-security {
    background: linear-gradient(135deg, #8a2be2, #6a1b9a);
    border: none;
    border-radius: 8px;
    color: #ffffff;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-security:hover {
    background: linear-gradient(135deg, #9d4edd, #7b2cbf);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(138, 43, 226, 0.3);
}

/* Backup Phrase Styles */
.backup-phrase-container {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
}

.backup-phrase-hidden {
    text-align: center;
}

.hidden-phrase {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 16px;
    margin-bottom: 20px;
    padding: 30px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    border: 2px dashed rgba(255, 255, 255, 0.1);
}

.hidden-phrase i {
    font-size: 24px;
    color: #8a2be2;
}

.btn-view-phrase, .btn-hide-phrase, .btn-copy-phrase {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.2), rgba(147, 112, 219, 0.2));
    border: 1px solid rgba(138, 43, 226, 0.3);
    border-radius: 8px;
    color: #ffffff;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 5px;
}

.btn-view-phrase:hover, .btn-hide-phrase:hover, .btn-copy-phrase:hover {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.3), rgba(147, 112, 219, 0.3));
    border-color: rgba(138, 43, 226, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(138, 43, 226, 0.2);
}

.phrase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.phrase-word {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.phrase-word:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(138, 43, 226, 0.3);
    transform: translateY(-2px);
}

.word-number {
    background: #8a2be2;
    color: #ffffff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.word-text {
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    font-family: monospace;
    letter-spacing: 0.5px;
}

.phrase-actions {
    text-align: center;
}

.security-warning {
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid rgba(244, 67, 54, 0.3);
    border-radius: 8px;
    padding: 15px;
    color: #ff6b6b;
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.security-warning i {
    color: #f44336;
    font-size: 16px;
    margin-top: 2px;
}

/* Receive Addresses */
.addresses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
}

.address-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.address-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.address-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.crypto-icon.small {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.crypto-icon.small img {
    width: 20px;
    height: 20px;
}

.crypto-icon.small::before {
    font-size: 16px;
}

.address-header h4 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    flex: 1;
}

.address-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.address-status.active {
    background: rgba(76, 175, 80, 0.15);
    color: #4caf50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.address-status.inactive {
    background: rgba(244, 67, 54, 0.15);
    color: #f44336;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

.address-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.address-text {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px 16px;
    color: #ffffff;
    font-family: monospace;
    font-size: 14px;
    word-break: break-all;
    cursor: pointer;
    transition: all 0.3s ease;
}

.address-text:hover {
    background: rgba(0, 0, 0, 0.5);
    border-color: rgba(138, 43, 226, 0.3);
}

.btn-copy-address {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.2), rgba(147, 112, 219, 0.2));
    border: 1px solid rgba(138, 43, 226, 0.3);
    border-radius: 8px;
    color: #ffffff;
    padding: 12px 16px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.btn-copy-address:hover {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.3), rgba(147, 112, 219, 0.3));
    border-color: rgba(138, 43, 226, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(138, 43, 226, 0.2);
}

.empty-addresses {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.5);
}

.empty-addresses i {
    font-size: 64px;
    color: rgba(255, 255, 255, 0.2);
    margin-bottom: 20px;
}

.empty-addresses h3 {
    color: #ffffff;
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 12px;
}

.empty-addresses p {
    font-size: 16px;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto;
}

/* Messages */
.messages-container {
    margin-bottom: 30px;
}

.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
}

.alert-success {
    background: rgba(76, 175, 80, 0.15);
    border: 1px solid rgba(76, 175, 80, 0.3);
    color: #4caf50;
}

.alert-error {
    background: rgba(244, 67, 54, 0.15);
    border: 1px solid rgba(244, 67, 54, 0.3);
    color: #f44336;
}

.alert-info {
    background: rgba(33, 150, 243, 0.15);
    border: 1px solid rgba(33, 150, 243, 0.3);
    color: #2196f3;
}

.alert i {
    font-size: 16px;
}

/* Send Modal Styles */
.send-form {
    max-width: 500px;
    margin: 0 auto;
}

.balance-info {
    background: rgba(138, 43, 226, 0.1);
    border: 1px solid rgba(138, 43, 226, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    text-align: center;
}

.available-balance {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.available-balance .label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.available-balance .amount {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    font-family: monospace;
}

.available-balance .usd-value {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    font-weight: 500;
}

.send-form .form-group {
    margin-bottom: 25px;
}

.send-form label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.send-form label i {
    color: #8a2be2;
    font-size: 14px;
}

.send-input {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #ffffff;
    font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    font-family: monospace;
}

.send-input:focus {
    outline: none;
    border-color: #8a2be2;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.2);
}

.send-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.input-help {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.amount-input-container {
    position: relative;
}

.currency-symbol {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #8a2be2;
    font-weight: 700;
    font-size: 16px;
    pointer-events: none;
}

.usd-estimate {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin-top: 8px;
    text-align: center;
    font-weight: 500;
}

.quick-amounts {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    justify-content: center;
}

.quick-amount-btn {
    background: rgba(138, 43, 226, 0.2);
    border: 1px solid rgba(138, 43, 226, 0.4);
    border-radius: 6px;
    color: #ffffff;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quick-amount-btn:hover {
    background: rgba(138, 43, 226, 0.3);
    border-color: rgba(138, 43, 226, 0.6);
    transform: translateY(-1px);
}

.fee-info {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
}

.fee-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.fee-row.total {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 8px;
    padding-top: 16px;
    color: #ffffff;
    font-weight: 600;
    font-size: 16px;
}

.fee-amount, .total-amount {
    font-family: monospace;
    font-weight: 600;
}

.btn-send-confirm {
    width: 100%;
    padding: 18px 20px;
    background: linear-gradient(135deg, #8a2be2, #6a1b9a);
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.btn-send-confirm:hover {
    background: linear-gradient(135deg, #9d4edd, #7b2cbf);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(138, 43, 226, 0.4);
}

.btn-send-confirm:active {
    transform: translateY(0);
}

.send-warning {
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid rgba(244, 67, 54, 0.3);
    border-radius: 8px;
    padding: 15px;
    color: #ff6b6b;
    font-size: 13px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}

.send-warning i {
    color: #f44336;
    font-size: 14px;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Copy Notification */
.copy-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #4caf50, #45a049);
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    0% { transform: translateX(100%); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

/* Responsive Design for Account Settings */
@media (max-width: 768px) {
    .account-settings-container {
        padding: 20px 15px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .addresses-grid {
        grid-template-columns: 1fr;
    }
    
    .address-content {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-copy-address {
        justify-content: center;
    }
    
    .phrase-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

/* Alert Icon and Modal Styles */
.alert-icon-container {
    position: relative;
    margin-right: 12px;
}

.alert-icon {
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.2), rgba(255, 193, 7, 0.2));
    border: 1px solid rgba(255, 165, 0, 0.3);
    border-radius: 10px;
    color: #ffc107;
    padding: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(255, 165, 0, 0.2);
}

.alert-icon:hover {
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.3), rgba(255, 193, 7, 0.3));
    border-color: rgba(255, 165, 0, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 165, 0, 0.3);
}

.alert-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: linear-gradient(135deg, #dc3545, #e63946);
    color: white;
    border-radius: 12px;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    border: 2px solid rgba(12, 14, 15, 0.8);
    animation: alertPulse 2s infinite;
}

@keyframes alertPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.alert-modal-content {
    max-width: 650px;
    width: 92vw;
    max-height: 90vh;
    overflow: hidden;
    box-sizing: border-box;
    border-radius: 20px;
    position: relative;
}

.alert-modal-content .modal-header {
    border-radius: 20px 20px 0 0;
    overflow: hidden;
    position: relative;
    z-index: 1;
    margin: -30px -30px 20px -30px;
    padding: 30px 30px 20px 30px;
    background: inherit;
    text-align: center;
}

.alert-modal-content .close {
    position: absolute;
    top: 15px;
    right: 20px;
    z-index: 20;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.alert-modal-content .close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
    transform: scale(1.1);
}

.alerts-list {
    max-height: 400px;
    overflow-y: auto;
    margin-top: 20px;
    padding-right: 5px;
    box-sizing: border-box;
}

.alert-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-bottom: 15px;
    margin-top: 20px;
    transition: all 0.3s ease;
    position: relative;
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.alert-item:hover {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.alert-item.unread {
    border-left: 4px solid #ffc107;
    background: linear-gradient(145deg, rgba(255, 193, 7, 0.08), rgba(255, 193, 7, 0.03));
}

.alert-item.alert-info {
    border-color: rgba(23, 162, 184, 0.3);
}

.alert-item.alert-warning {
    border-color: rgba(255, 193, 7, 0.3);
}

.alert-item.alert-success {
    border-color: rgba(40, 167, 69, 0.3);
}

.alert-item.alert-error {
    border-color: rgba(220, 53, 69, 0.3);
}

.alert-icon-type {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.alert-item.alert-info .alert-icon-type {
    background: linear-gradient(135deg, rgba(23, 162, 184, 0.2), rgba(13, 110, 253, 0.2));
    color: #17a2b8;
}

.alert-item.alert-warning .alert-icon-type {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.2), rgba(255, 165, 0, 0.2));
    color: #ffc107;
}

.alert-item.alert-success .alert-icon-type {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.2), rgba(25, 135, 84, 0.2));
    color: #28a745;
}

.alert-item.alert-error .alert-icon-type {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.2), rgba(214, 51, 132, 0.2));
    color: #dc3545;
}

.alert-content {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.alert-message {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 8px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    white-space: normal;
}

.alert-time {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    font-weight: 500;
}

.alert-mark-read {
    flex-shrink: 0;
}

.mark-read-btn {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.2), rgba(25, 135, 84, 0.2));
    border: 1px solid rgba(40, 167, 69, 0.3);
    border-radius: 8px;
    color: #28a745;
    padding: 8px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mark-read-btn:hover {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.3), rgba(25, 135, 84, 0.3));
    border-color: rgba(40, 167, 69, 0.5);
    transform: scale(1.1);
}

.alerts-list::-webkit-scrollbar {
    width: 6px;
}

.alerts-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.alerts-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.alerts-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
    .alert-modal-content {
        width: 96vw;
        margin: 15px auto;
        max-height: 85vh;
    }
    
    .alerts-list {
        max-height: 350px;
        padding-right: 8px;
    }
    
    .alert-item {
        padding: 16px;
        gap: 12px;
        margin-bottom: 12px;
    }
    
    .alert-icon-type {
        width: 35px;
        height: 35px;
        font-size: 16px;
        flex-shrink: 0;
    }
    
    .alert-message {
        font-size: 13px;
        line-height: 1.4;
    }
    
    .alert-icon-container {
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 1000;
        margin-right: 0;
    }
    
    .alert-icon {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    /* Transaction Details Modal Mobile */
    .detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 16px 0;
    }
    
    .detail-label {
        min-width: auto;
        font-size: 13px;
    }
    
    .detail-value {
        text-align: left;
        font-size: 13px;
    }
    
    .hash-value, .address-value {
        font-size: 11px;
        padding: 6px 10px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .btn-view-details-recent,
    .btn-view-details {
        font-size: 10px;
        padding: 6px 10px;
        gap: 4px;
    }
    
    .transaction-details-content {
        padding: 15px;
    }
    
    /* Network info mobile styling */
    .network-info {
        font-size: 10px;
        padding: 6px 10px;
        top: 15px;
        right: 20px;
    }
}