/* Web3 Wallet Button Styles */
.btn-wallet {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-wallet:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.btn-wallet.connected {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    box-shadow: 0 4px 15px rgba(17, 153, 142, 0.3);
}

.btn-wallet.connected:hover {
    background: linear-gradient(135deg, #38ef7d 0%, #11998e 100%);
}

.btn-wallet svg {
    width: 20px;
    height: 20px;
}

.wallet-address {
    font-family: 'Courier New', monospace;
    font-size: 14px;
}

.wallet-status {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff4444;
    margin-left: 5px;
}

.wallet-status.connected {
    background: #00ff00;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Dark mode support */
[data-theme="dark"] .btn-wallet {
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.5);
}

/* Language Switcher Styles */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.lang-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    padding: 2px 6px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.lang-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.lang-link.active {
    color: white;
    background: rgba(255, 255, 255, 0.2);
}

.lang-divider {
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
}

/* Dark mode support for language switcher */
[data-theme="dark"] .lang-switcher {
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.1);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .btn-wallet {
        padding: 8px 15px;
        font-size: 14px;
    }
    
    .btn-wallet svg {
        width: 18px;
        height: 18px;
    }
    
    .wallet-address {
        font-size: 12px;
    }
    
    .lang-switcher {
        padding: 4px 8px;
    }
    
    .lang-link {
        font-size: 12px;
        padding: 2px 4px;
    }
}

/* Small mobile devices */
@media (max-width: 576px) {
    .btn-wallet {
        padding: 6px 10px;
        font-size: 12px;
        gap: 4px;
        border-radius: 20px;
    }
    
    .btn-wallet svg {
        width: 14px;
        height: 14px;
    }
    
    .btn-wallet .wallet-text {
        display: none;
    }
    
    .lang-switcher {
        padding: 3px 6px;
        gap: 4px;
    }
    
    .lang-link {
        font-size: 11px;
        padding: 2px 4px;
    }
    
    .lang-divider {
        font-size: 10px;
    }
}

/* Extra small devices */
@media (max-width: 375px) {
    .btn-wallet {
        padding: 5px 8px;
    }
    
    .btn-wallet svg {
        width: 12px;
        height: 12px;
    }
    
    .lang-switcher {
        padding: 2px 4px;
    }
    
    .lang-link {
        font-size: 10px;
        padding: 1px 3px;
    }
}
