:root {
    --primary: #2775ca;
    --primary-dark: #1a5b9e;
    --secondary: #f8f9fa;
    --success: #28a745;
    --danger: #dc3545;
    --warning: #ffc107;
    --dark: #1e2022;
    --light: #f8f9fa;
    --border: #e0e3eb;
    --text-primary: #1e2022;
    --text-secondary: #6c757d;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.wallet-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.wallet-tab {
    padding: 12px 20px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.wallet-tab:hover {
    color: var(--primary);
}

.wallet-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* Withdraw Form */
.withdraw-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(39, 117, 202, 0.1);
}

.input-group {
    display: flex;
}

.input-group .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group-append {
    display: flex;
}

.input-group-text {
    padding: 12px 15px;
    background-color: #f8fafc;
    border: 1px solid var(--border);
    border-left: none;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.balance-info {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 12px;
    color: var(--text-secondary);
}

.max-btn {
    color: var(--primary);
    cursor: pointer;
    font-weight: 500;
}

.max-btn:hover {
    text-decoration: underline;
}

.withdraw-summary {
    background: #f8fafc;
    border-radius: 8px;
    padding: 15px;
    margin: 25px 0;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
}

.summary-item:last-child {
    margin-bottom: 0;
}

.summary-item span:first-child {
    color: var(--text-secondary);
}

.summary-item span:last-child {
    font-weight: 500;
    color: var(--text-primary);
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-block {
    display: block;
    width: 100%;
}

.alert-success {
    background-color: rgba(40, 167, 69, 0.08);
    border-left-color: var(--success);
    color: var(--success);
}

.alert-success i {
    margin-right: 10px;
}

.asset-balance {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 2px;
}
/* Add to wallet.css */
.disabled-asset {
    opacity: 0.6;
    pointer-events: none;
}

.disabled-asset .asset-balance {
    color: var(--danger);
}

/* Add to mobile.css */
@media (max-width: 768px) {
    .disabled-asset .asset-balance {
        font-size: 11px;
    }
}
.dashboard-body {
    background-color: #f5f7fb;
    color: #1e2022;
    font-family: 'Inter', sans-serif;
}

.dashboard-container {
    display: flex;
    min-height: 100vh;
}

/* Remove the asset-grid styles and replace with: */
.asset-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    max-height: 350px; /* Approximate height for 5 items */
    overflow-y: auto;
}
/* Add these new styles */
.search-container {
    position: relative;
    margin-bottom: 20px;
}

.asset-list-container {
    position: absolute;
    width: 100%;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 100;
    margin-top: 5px;
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #e0e3eb;
}

.asset-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
}

/* Keep your existing asset-item styles */
.asset-item {
    background: white;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.asset-item:hover {
    background-color: #f8fafc;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Keep the rest of your existing asset-item styles */

.asset-item {
    background: white;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.asset-item:hover {
    background-color: #f8fafc;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.asset-icon {
    width: 40px;
    height: 40px;
    background: #f5f7fb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.asset-icon img {
    width: 24px;
    height: 24px;
}

.asset-info {
    flex: 1;
}

.asset-name {
    font-weight: 500;
    font-size: 14px;
    color: #2d3748;
}

.asset-symbol {
    font-size: 12px;
    color: #718096;
    margin-top: 2px;
}

.asset-arrow {
    color: #a0aec0;
}

/* Enhanced Search Box */
.search-box {
    position: relative;
    margin-bottom: 20px;
}

.search-box input {
    width: 100%;
    padding: 12px 15px 12px 40px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s ease;
    background-color: #f8fafc;
}

.search-box input:focus {
    outline: none;
    border-color: #2775ca;
    box-shadow: 0 0 0 3px rgba(39, 117, 202, 0.1);
    background-color: white;
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    transition: color 0.2s ease;
}

.search-box input:focus + i {
    color: #2775ca;
}

/* Enhanced Card Styles */
.card {
    background: white;
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
    overflow: hidden;
}

.card-header {
    padding: 18px 25px;
    background: #f8fafc;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.card-title {
    font-size: 17px;
    font-weight: 600;
    color: #1e293b;
    display: flex;
    align-items: center;
}

.card-title i {
    margin-right: 10px;
    color: #2775ca;
    font-size: 16px;
}

.card-body {
    padding: 25px;
}

/* Enhanced Network Selector */
.network-selector {
    margin-bottom: 25px;
}

.network-selector label {
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 8px;
    display: block;
}

#network-select {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 14px;
    width: 100%;
    transition: all 0.2s ease;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
}

#network-select:focus {
    outline: none;
    border-color: #2775ca;
    box-shadow: 0 0 0 3px rgba(39, 117, 202, 0.1);
}

/* Enhanced Wallet Address Section */
.wallet-address-container {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.qr-code-container {
    background: white;
    padding: 18px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    text-align: center;
    min-width: 200px;
}

.qr-code-container canvas {
    margin: 0 auto;
}

.qr-code-container p {
    margin-top: 12px;
    font-size: 12px;
    color: #64748b;
}

.address-info {
    flex: 1;
    min-width: 280px;
}

.wallet-address {
    background: #f8fafc;
    padding: 14px 45px 14px 15px;
    border-radius: 8px;
    font-family: 'Roboto Mono', monospace;
    font-size: 14px;
    word-break: break-all;
    border: 1px solid #e2e8f0;
    margin-bottom: 15px;
    position: relative;
    line-height: 1.5;
}

/* Enhanced Copy Address Button */
#copy-address {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 5px 8px;
    font-size: 12px;
    color: #64748b;
    cursor: pointer;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

#copy-address:hover {
    background: #f1f5f9;
    color: #2775ca;
    border-color: #cbd5e1;
}

#copy-address.copied {
    background: #e6f7ee;
    color: #28a745;
    border-color: #b8f1d1;
}

#copy-address.copied i::before {
    content: "\f00c";
}

/* Enhanced Deposit Notes */
.deposit-notes {
    background: #f8fafc;
    border-radius: 8px;
    padding: 15px;
    margin-top: 18px;
}

.note {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
    font-size: 13px;
    color: #475569;
    line-height: 1.5;
}

.note:last-child {
    margin-bottom: 0;
}

.note i {
    margin-right: 10px;
    color: #64748b;
    margin-top: 2px;
    flex-shrink: 0;
    font-size: 14px;
}

.note.warning {
    color: #b45309;
}

.note.warning i {
    color: #f59e0b;
}

/* Enhanced Deposit Instructions */
.deposit-instructions {
    background: #f8fafc;
    border-radius: 8px;
    padding: 18px;
    margin-top: 25px;
}

.deposit-instructions h4 {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 12px;
}

.deposit-instructions ol {
    padding-left: 20px;
    margin-bottom: 18px;
}

.deposit-instructions li {
    margin-bottom: 8px;
    color: #475569;
    font-size: 14px;
}

.deposit-instructions li:last-child {
    margin-bottom: 0;
}

/* Enhanced Deposit Limits Table */
.deposit-limits {
    margin-top: 18px;
}

.deposit-limits h4 {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 12px;
}

.deposit-limits table {
    width: 100%;
    border-collapse: collapse;
}

.deposit-limits tr {
    border-bottom: 1px solid #e2e8f0;
}

.deposit-limits tr:last-child {
    border-bottom: none;
}

.deposit-limits td {
    padding: 8px 0;
    font-size: 14px;
}

.deposit-limits td:first-child {
    color: #64748b;
    font-weight: 500;
}

.deposit-limits td:last-child {
    color: #1e293b;
    text-align: right;
    font-family: 'Roboto Mono', monospace;
}

/* Enhanced Network Warning */
.network-warning {
    background: #fffbeb;
    padding: 12px 15px;
    border-radius: 8px;
    margin-top: 15px;
    font-size: 13px;
    color: #b45309;
    display: flex;
    align-items: center;
    border-left: 3px solid #f59e0b;
}

.network-warning i {
    margin-right: 10px;
    color: #f59e0b;
    font-size: 15px;
}

/* Loading States */
.loading {
    text-align: center;
    padding: 40px;
    background: white;
    border-radius: 12px;
    margin: 20px 0;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(39, 117, 202, 0.1);
    border-left-color: #2775ca;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Sidebar Styles */
.sidebar {
    width: 280px;
    background-color: white;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid #e0e3eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-logo {
    font-size: 20px;
    font-weight: 700;
    color: #2775ca;
}

.sidebar-toggle {
    background: none;
    border: none;
    color: #6c757d;
    font-size: 18px;
    cursor: pointer;
}

.sidebar-nav {
    flex: 1;
    padding: 20px 0;
}

.nav-item {
    padding: 12px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    color: #6c757d;
}

.nav-item i {
    margin-right: 10px;
    width: 24px;
    text-align: center;
}

.nav-item.active {
    background-color: rgba(39, 117, 202, 0.1);
    color: #2775ca;
    border-left: 3px solid #2775ca;
}

.nav-item:hover:not(.active) {
    background-color: #f8f9fa;
}

.sidebar-footer {
    padding: 20px;
    border-top: 1px solid #e0e3eb;
}

.user-profile {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    color: #6c757d;
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-weight: 600;
    font-size: 14px;
}

.user-email {
    font-size: 12px;
    color: #6c757d;
}

.btn-logout {
    width: 100%;
    background-color: #f8f9fa;
    color: #6c757d;
    border: none;
    padding: 10px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-logout i {
    margin-right: 8px;
}

/* Main Content Styles */
.main-content {
    flex: 1;
    padding: 20px;
    background-color: #f5f7fb;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.header-left h1 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 5px;
}

.breadcrumb {
    font-size: 13px;
    color: #6c757d;
    display: flex;
    align-items: center;
}

.breadcrumb i {
    margin: 0 8px;
    font-size: 11px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.notification-btn {
    position: relative;
    background: none;
    border: none;
    color: #6c757d;
    font-size: 18px;
    cursor: pointer;
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #dc3545;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dashboard-content {
    background-color: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .wallet-address-container {
        flex-direction: column;
    }
    
    .qr-code-container {
        margin: 0 auto 20px;
    }
    
    .address-info {
        width: 100%;
    }
    
    .card-header {
        padding: 15px 20px;
    }
    
    .card-body {
        padding: 18px;
    }
    
    .asset-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .sidebar {
        width: 80px;
    }
    
    .sidebar-logo, .nav-item span, .user-name, .user-email {
        display: none;
    }
    
    .sidebar-nav {
        padding: 10px 0;
    }
    
    .nav-item {
        justify-content: center;
        padding: 12px 0;
    }
    
    .nav-item i {
        margin-right: 0;
    }
    
    .sidebar-footer {
        padding: 15px;
    }
    
    .user-profile {
        justify-content: center;
    }
}

/* Error Message Styles */
.alert {
    padding: 14px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    border-left: 3px solid;
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.08);
    border-left-color: var(--danger);
    color: #dc3545;
}

.alert-danger i {
    margin-right: 10px;
}

.no-assets {
    text-align: center;
    padding: 30px;
    color: #6c757d;
}

.no-assets i {
    font-size: 40px;
    margin-bottom: 15px;
    color: #e9ecef;
}

    .disabled-asset {
        opacity: 0.6;
        pointer-events: none;
    }
    
    .asset-balance {
        font-size: 12px;
        color: #6c757d;
        margin-top: 4px;
    }
    
    .balance-info {
        display: flex;
        justify-content: space-between;
        margin-top: 5px;
        font-size: 12px;
        color: #6c757d;
    }
    
    .max-btn {
        color: #007bff;
        cursor: pointer;
        font-weight: 500;
    }
    
    .max-btn:hover {
        text-decoration: underline;
    }
    
    .withdraw-summary {
        background-color: #f8f9fa;
        border-radius: 8px;
        padding: 15px;
        margin: 15px 0;
    }
    
    .summary-item {
        display: flex;
        justify-content: space-between;
        margin-bottom: 8px;
    }
    
    .summary-item:last-child {
        margin-bottom: 0;
    }
    
    .input-group {
        margin-bottom: 5px;
    }
    
    .network-warning {
        background-color: #fff3cd;
        color: #856404;
        padding: 8px 12px;
        border-radius: 4px;
        margin-top: 8px;
        font-size: 13px;
        display: none;
    }
    
    .network-warning i {
        margin-right: 5px;
    }
