:root {
    --primary-color: #8B4513;
    --secondary-color: #D2691E;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin: 0;
    padding: 0;
    background: #f8f9fa;
}

/* Navigation */
.navbar-custom {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
    color: white !important;
}

.nav-link {
    color: white !important;
    margin: 0 0.5rem;
}

.nav-link:hover {
    color: #f0f0f0 !important;
}

/* Cards */
.card-custom {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 2rem 0;
    border: none;
}

.status-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 1rem;
    text-align: center;
}

.balance-display {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 2rem 0;
}

/* Wallet Items */
.wallet-item {
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: white;
    transition: all 0.3s ease;
}

.wallet-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.wallet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.wallet-info {
    display: flex;
    align-items: center;
}

.wallet-icon {
    width: 40px;
    height: 40px;
    margin-right: 1rem;
    border-radius: 8px;
}

.wallet-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.wallet-address {
    font-family: monospace;
    font-size: 0.85rem;
    color: #6c757d;
}

.wallet-actions {
    display: flex;
    gap: 0.5rem;
}

.wallet-balance {
    text-align: right;
}

.balance-amount {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.balance-usd {
    font-size: 0.9rem;
    color: #6c757d;
}

/* Wallet Options in Modal */
.wallet-option {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    background: white;
    margin: 0.5rem 0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.wallet-option:hover {
    border-color: var(--primary-color);
    background: #f8f9fa;
}

.wallet-option img {
    width: 40px;
    height: 40px;
    margin-right: 1rem;
    border-radius: 6px;
}

/* User Avatar */
.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 0.5rem;
}

/* Loading Screen */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-content {
    text-align: center;
}

/* Utility Classes */
.text-primary {
    color: var(--primary-color) !important;
}

.text-success {
    color: var(--success-color) !important;
}

.btn-custom {
    padding: 0.75rem 2rem;
    border-radius: 10px;
    font-weight: 600;
}

.btn-outline-warning {
    border-color: #ffc107;
    color: #ffc107;
}

.btn-outline-warning:hover {
    background-color: #ffc107;
    border-color: #ffc107;
    color: #000;
}

/* Responsive */
@media (max-width: 768px) {
    .wallet-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .wallet-balance {
        text-align: left;
        width: 100%;
    }
    
    .wallet-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

/* Chart Container */
#portfolio-chart {
    max-width: 100%;
    height: auto;
}