/* Tokens & Chains Grid Styles */
.tokens-grid, .chains-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
    padding: 20px 0;
}

.token-card, .chain-card {
    background: rgba(15, 15, 26, 0.8);
    border: 1px solid rgba(123, 47, 255, 0.2);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.token-card:hover, .chain-card:hover {
    transform: translateY(-4px);
    border-color: rgba(123, 47, 255, 0.5);
    box-shadow: 0 8px 32px rgba(123, 47, 255, 0.2);
}

.token-symbol {
    font-size: 24px;
    font-weight: 700;
    color: #7B2FFF;
    margin-bottom: 8px;
}

.token-name {
    font-size: 14px;
    color: #fff;
    margin-bottom: 4px;
}

.token-address {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    font-family: 'IBM Plex Mono', monospace;
}

.chain-card {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    border-left: 3px solid;
}

.chain-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: #fff;
}

.chain-info {
    flex: 1;
}

.chain-name {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.chain-id {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

/* Section Headers */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(123, 47, 255, 0.2);
}

.section-header h2 {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-header .count {
    background: rgba(123, 47, 255, 0.2);
    color: #7B2FFF;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
}

/* Toast Notifications */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 16px 24px;
    background: rgba(15, 15, 26, 0.95);
    border: 1px solid rgba(123, 47, 255, 0.3);
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    z-index: 10000;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-success {
    border-color: rgba(34, 197, 94, 0.5);
}

.toast-error {
    border-color: rgba(239, 68, 68, 0.5);
}

/* Consciousness Tab Special Animation */
@keyframes consciousness-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.consciousness-tab {
    animation: consciousness-pulse 2s infinite;
}

/* Loading States */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(123, 47, 255, 0.1), transparent);
    animation: loading-shimmer 1.5s infinite;
}

@keyframes loading-shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}
