/* TXGAMING — Browser Translate Assist — Fallback Widget */

.txbta-widget {
    position: fixed;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #111436;
    border: 1px solid #1E2456;
    border-radius: 8px;
    padding: 10px 14px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.4);
    font-family: 'Rajdhani', sans-serif;
    font-size: 13px;
    color: #F0F2FF;
    animation: txbta-fade-in 0.3s ease both;
}

.txbta-widget--bottom-right { bottom: 20px; right: 20px; }
.txbta-widget--bottom-left  { bottom: 20px; left: 20px; }
.txbta-widget--top-right    { top: 80px; right: 20px; }

.txbta-widget__icon { font-size: 16px; }
.txbta-widget__label { font-weight: 700; color: #8A8FB8; }

.txbta-widget__links { display: flex; gap: 6px; }
.txbta-widget__link {
    color: #39FF14;
    text-decoration: none;
    font-weight: 700;
    padding: 3px 8px;
    border: 1px solid rgba(57,255,20,0.3);
    border-radius: 4px;
    font-size: 12px;
    transition: background 0.2s ease;
}
.txbta-widget__link:hover { background: rgba(57,255,20,0.12); }

.txbta-widget__close {
    background: none;
    border: none;
    color: #8A8FB8;
    font-size: 16px;
    cursor: pointer;
    padding: 0 2px;
    line-height: 1;
    order: 99;
}
.txbta-widget__close:hover { color: #fff; }

@keyframes txbta-fade-in {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
    .txbta-widget { left: 12px; right: 12px; bottom: 12px; flex-wrap: wrap; }
    .txbta-widget--bottom-right, .txbta-widget--bottom-left { left: 12px; right: 12px; }
}
