body {
    background-color: #f8f9fa;
}

.card {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    border: none;
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-5px);
}

.total-balance-card {
    background: linear-gradient(135deg, #1a237e 0%, #0d47a1 100%);
    color: white;
}

.total-balance-card .card-title {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.total-balance-card .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

.stat-box {
    padding: 1rem;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
}

.stat-box h6 {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.stat-box h3 {
    margin-bottom: 0;
    font-weight: 600;
}

.wallet-address {
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 0.25rem;
    font-family: monospace;
}

.card-header {
    background-color: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Ensure dropdown menu is visible and properly styled */
.dropdown-menu {
    display: none;
    position: absolute;
    z-index: 9999 !important;
    min-width: 10rem;
    padding: 0.5rem 0;
    margin: 0;
    font-size: 1rem;
    color: #212529;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0.375rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.175);
    top: 100%;
    right: 0;
}

.dropdown-menu-end {
    right: 0;
    left: auto;
}

/* Ensure dropdown content is visible */
.dropdown-menu.show {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: absolute !important;
    z-index: 99999 !important;
    top: 100% !important;
    right: 0 !important;
    left: auto !important;
    min-width: 10rem !important;
    padding: 0.5rem 0 !important;
    margin: 0 !important;
    background-color: #fff !important;
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
    border-radius: 0.375rem !important;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.175) !important;
    pointer-events: auto !important;
    transform: none !important;
}

/* Ensure navbar dropdown positioning */
.navbar-nav .dropdown-menu {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    left: auto !important;
    z-index: 99999 !important;
}

/* Override any conflicting Bootstrap styles */
.navbar-expand-lg .navbar-nav .dropdown-menu {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    left: auto !important;
    z-index: 99999 !important;
}

/* Force visibility class for debugging */
.force-visible {
    position: fixed !important;
    top: 60px !important;
    right: 20px !important;
    z-index: 999999 !important;
    background: white !important;
    border: 2px solid red !important;
    min-width: 200px !important;
    padding: 10px !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.5) !important;
}

.dropdown-item {
    display: block !important;
    visibility: visible !important;
    color: #212529 !important;
    background-color: transparent !important;
    border: 0 !important;
    padding: 0.25rem 1rem !important;
    text-decoration: none !important;
}

.dropdown-item:hover {
    color: #1e2125 !important;
    background-color: #f8f9fa !important;
}

.dropdown-item-text {
    display: block !important;
    padding: 0.25rem 1rem !important;
    color: #6c757d !important;
}

.dropdown-divider {
    height: 0 !important;
    margin: 0.5rem 0 !important;
    border-top: 1px solid #dee2e6 !important;
}

.dropdown-menu.show {
    display: block;
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: 0.25rem 1rem;
    clear: both;
    font-weight: 400;
    color: #212529;
    text-align: inherit;
    text-decoration: none;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
}

.dropdown-item:hover {
    color: #1e2125;
    background-color: #e9ecef;
}

.dropdown-item-text {
    display: block;
    padding: 0.25rem 1rem;
    color: #6c757d;
}

.dropdown-divider {
    height: 0;
    margin: 0.5rem 0;
    overflow: hidden;
    border-top: 1px solid #e9ecef;
}

.alert {
    margin-bottom: 1rem;
}

.table th {
    font-weight: 500;
    color: #6c757d;
    border-top: none;
}

.table td {
    vertical-align: middle;
}

.badge {
    padding: 0.5em 0.8em;
    font-weight: 500;
}

.text-success {
    color: #28a745 !important;
}

.text-danger {
    color: #dc3545 !important;
}

.btn-outline-primary {
    border-color: #1a237e;
    color: #1a237e;
}

.btn-outline-primary:hover {
    background-color: #1a237e;
    border-color: #1a237e;
    color: white;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .card {
        margin-bottom: 1rem;
    }

    .stat-box {
        margin-bottom: 1rem;
    }
}

/* Loading disabled state for clickable cards */
.loading-disabled {
    pointer-events: none;
    opacity: 0.6;
    cursor: not-allowed;
}

.loading-disabled .hover-card {
    transform: none !important;
}

.loading-disabled .hover-card:hover {
    transform: none !important;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
} 
