﻿/* 🌐 Wallet Controls Bar */
.wallet-controls {
    width: 100%;
    position: absolute;
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background: rgba(0, 0, 0, 0.35);
    box-shadow: 0 2px 10px rgba(0, 255, 255, 0.25);
    font-family: sans-serif;
    color: #fff;
    z-index: 20;
    padding: 6px 10px;
}

/* Left + Right sections */
.left-controls, .right-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 🪙 Coin display */
.coin-amount {
    font-weight: bold;
    font-size: 13px;
    min-width: 28px;
    text-align: right;
}

.coin-logo {
    width: 25px;
    height: 25px;
    border-radius: 50%;
}

.header-coin-logo {
    margin-left: -5px;
    margin-right: 5px;
}

/* 💳 Wallet Address */
.wallet-address {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    padding: 0 12px;
    background: linear-gradient(135deg, #002f44, #004d66);
    color: #00f7ff;
    font-family: 'Courier New', monospace;
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 255, 0.4);
    font-size: 13px;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .wallet-address:hover {
        background: linear-gradient(135deg, #004d66, #006b88);
        color: #fff;
        border-color: #0ff;
        box-shadow: 0 0 8px #0ff;
    }

/* 🔘 Buttons */
.wallet-controls .btn {
    height: 30px;
    padding: 0 12px;
    font-size: 13px;
    font-weight: bold;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn.primary {
    background: linear-gradient(135deg, #0078ff, #00e6ff);
    color: white;
    box-shadow: 0 0 6px rgba(0, 238, 255, 0.4);
}

    .btn.primary:hover {
        background: linear-gradient(135deg, #00baff, #00e6ff);
        box-shadow: 0 0 10px rgba(0, 255, 255, 0.7);
    }

.btn.danger {
    background: linear-gradient(135deg, #ff4d4d, #ff0000);
    color: white;
    box-shadow: 0 0 6px rgba(255, 0, 0, 0.3);
}

    .btn.danger:hover {
        background: linear-gradient(135deg, #ff6b6b, #ff1a1a);
        box-shadow: 0 0 10px rgba(255, 100, 100, 0.6);
    }

.btn.success {
    background: linear-gradient(135deg, #28a745, #00d95a);
    color: white;
}

.btn.icon-btn {
    font-size: 18px;
    background: #333;
    color: white;
    padding: 4px 8px;
}

/* 📱 Responsive Layout (no size change) */
@media (max-width: 768px) {
    .wallet-controls {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        padding: 5px 10px;
    }

    .left-controls, .right-controls {
        flex-wrap: wrap;
        justify-content: center;
    }
}


.loader {
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid #00ffff;
    border-radius: 50%;
    width: 14px;
    height: 14px;
    animation: spin 0.8s linear infinite;
    display: inline-block;
    vertical-align: middle;
    margin-left: 4px;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}