/* Wallet Widget Styles */

/* Navigation wallet styles */
.wallet-connected-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    background: rgba(0, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
}

.wallet-connected-nav .wallet-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.wallet-connected-nav .wallet-icon {
    font-size: 18px;
}

.wallet-connected-nav .wallet-address {
    color: #00ffff;
    font-size: 14px;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.disconnect-wallet-btn {
    padding: 6px 12px;
    background: rgba(255, 0, 128, 0.1);
    border: 1px solid rgba(255, 0, 128, 0.3);
    border-radius: 6px;
    color: #ff0080;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.disconnect-wallet-btn:hover {
    background: rgba(255, 0, 128, 0.2);
    border-color: rgba(255, 0, 128, 0.5);
    box-shadow: 0 0 10px rgba(255, 0, 128, 0.3);
}

.wallet-widget {
    padding: 12px 20px;
    background: rgba(0, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 12px;
    box-shadow:
        0 0 20px rgba(0, 255, 255, 0.2),
        inset 0 0 20px rgba(0, 255, 255, 0.05);
}

.wallet-not-installed {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wallet-icon {
    font-size: 24px;
}

.install-phantom-link {
    color: #00ffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.install-phantom-link:hover {
    color: #00ff88;
    text-shadow: 0 0 15px rgba(0, 255, 136, 0.8);
}

.wallet-connected {
    display: flex;
    align-items: center;
    gap: 16px;
}

.wallet-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.wallet-address {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pubkey {
    color: #00ffff;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    font-weight: 600;
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.6);
}

.wallet-balances {
    display: flex;
    gap: 16px;
}

.balance-item {
    display: flex;
    gap: 6px;
    font-size: 12px;
}

.balance-label {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.balance-value {
    color: #00ff88;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(0, 255, 136, 0.5);
}

.disconnect-button {
    padding: 8px 16px;
    font-size: 12px;
    white-space: nowrap;
}

.wallet-disconnected {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wallet-error {
    color: #ff4444;
    font-size: 11px;
    padding: 4px 8px;
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid rgba(255, 68, 68, 0.3);
    border-radius: 4px;
    text-align: center;
}

.connect-button {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 700;
}

.connect-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Lobby header layout update */
.lobby-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 50px;
    background: linear-gradient(
        135deg,
        rgba(0, 255, 255, 0.1) 0%,
        rgba(255, 0, 255, 0.1) 100%
    );
    border-bottom: 2px solid rgba(0, 255, 255, 0.3);
    box-shadow: 0 4px 20px rgba(0, 255, 255, 0.2);
}

.lobby-title-section {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .lobby-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .wallet-widget {
        width: 100%;
    }

    .wallet-connected {
        flex-direction: column;
        text-align: center;
    }

    .wallet-balances {
        justify-content: center;
    }
}

/* Neon glow animation for connected state */
@keyframes wallet-pulse {
    0%, 100% {
        box-shadow:
            0 0 20px rgba(0, 255, 255, 0.2),
            inset 0 0 20px rgba(0, 255, 255, 0.05);
    }
    50% {
        box-shadow:
            0 0 30px rgba(0, 255, 255, 0.4),
            inset 0 0 30px rgba(0, 255, 255, 0.1);
    }
}

.wallet-connected {
    animation: wallet-pulse 3s ease-in-out infinite;
}
