.dropdown-item:hover, .dropdown-item:focus { background-color: #2a2a2a; color: #fff; }
.category-thumb { object-fit: cover; border-radius: 4px; }
[v-cloak] { display: none !important; }
body { background-color: #121212; color: #e0e0e0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; overflow-x: hidden; }
.login-card { max-width: 400px; margin: 100px auto; }
.card { background-color: #1e1e1e; border: 1px solid #333; }
.form-control, .form-select { background-color: #2a2a2a; border: 1px solid #444; color: #fff; }
.form-control:focus, .form-select:focus { background-color: #333; color: #fff; box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25); border-color: #0d6efd; }
.nav-pills .nav-link { color: #aaa; border-radius: 8px; margin-bottom: 5px; cursor: pointer; }
.nav-pills .nav-link.active { background-color: #0d6efd; color: #fff; }
.section-title { border-bottom: 1px solid #333; padding-bottom: 10px; margin-bottom: 20px; color: #fff; }
.bg-darker { background-color: #181818; border-radius: 8px; padding: 15px; border: 1px solid #2a2a2a; }
.control-btn { height: 60px; font-size: 1.1rem; font-weight: bold; border-radius: 12px; transition: transform 0.1s; }
.control-btn:active { transform: scale(0.97); }
.viewer-stats-bar { display: flex; background: #181818; border: 1px solid #2a2a2a; border-radius: 10px; overflow: hidden; }
.stat-item { flex: 1; display: flex; align-items: center; justify-content: center; padding: 12px 15px; border-right: 1px solid #2a2a2a; transition: background 0.2s; }
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: #1e1e1e; }
.stat-icon { font-size: 1.6rem; margin-right: 12px; }
.stat-label { font-size: 0.65rem; color: #888; text-transform: uppercase; font-weight: 800; letter-spacing: 1px; line-height: 1; margin-bottom: 2px; }
.stat-value { font-size: 1.3rem; font-weight: 700; color: #e0e0e0; line-height: 1; }
.yt-refresh-btn { background: rgba(204, 0, 0, 0.15); color: #ff4444; border: 1px solid rgba(204, 0, 0, 0.3); border-radius: 20px; padding: 3px 10px; font-size: 0.7rem; font-weight: bold; margin-left: 12px; cursor: pointer; transition: all 0.2s ease; display: flex; align-items: center; }
.yt-refresh-btn:hover:not(:disabled) { background: #cc0000; color: #fff; border-color: #cc0000; }
.yt-refresh-btn:disabled { background: transparent; color: #555; border-color: #444; cursor: not-allowed; }
.yt-spinner { animation: spin 1s linear infinite; display: inline-block; margin-right: 4px; }
@keyframes spin { 100% { transform: rotate(360deg); } }
.sidebar-wrapper { transition: transform 0.3s ease-in-out; }

/* 📱 MOBILE SPECIFIC STYLES */
@media (max-width: 767.98px) {
    
    /* Prevent default horizontal swipe behaviors to allow our JS to handle it */
    body, .container-fluid {
        touch-action: pan-y;
    }
    
    .sidebar-wrapper {
        position: fixed; top: 0; left: 0; width: 260px; height: 100vh;
        background-color: #1a1a1a; z-index: 1050; padding-top: 20px;
        padding-left: 15px; padding-right: 15px; box-shadow: 4px 0 15px rgba(0,0,0,0.6);
        transform: translateX(-100%); overflow-y: auto;
    }
    .sidebar-wrapper.show { transform: translateX(0); }
    .sidebar-overlay {
        position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
        background: rgba(0,0,0,0.6); z-index: 1040; opacity: 0;
        visibility: hidden; transition: opacity 0.3s; backdrop-filter: blur(2px);
    }
    .sidebar-overlay.show { opacity: 1; visibility: visible; }
    .viewer-stats-bar { flex-direction: column; }
    .stat-item { border-right: none; border-bottom: 1px solid #2a2a2a; justify-content: flex-start !important; padding-left: 20px; }
    .stat-item:last-child { border-bottom: none; }
    
    .transmitting-badge-mobile {
        position: fixed !important;
        top: auto !important;
        bottom: 25px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        z-index: 9999 !important;
        font-size: 1.1rem;
        padding: 12px 25px !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
        border: 1px solid #b8860b;
    }

    /* 👇 NEW: Shrink text inputs and labels on mobile Stream Info tab 👇 */
    .input-group .form-control,
    .input-group .input-group-text {
        font-size: 0.75rem !important; 
        letter-spacing: -0.2px; 
    }
    
    .input-group .input-group-text {
        min-width: 65px !important; 
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
    /* 👆 END OF NEW CSS 👆 */
}

/* 💻 DESKTOP SPECIFIC STYLES */
@media (min-width: 768px) {
    .mobile-menu-btn { display: none !important; }
    .sidebar-overlay { display: none !important; }
}

/* Custom Twitch Button */
.btn-outline-twitch {
    color: #9146ff;
    border-color: #9146ff;
    background-color: transparent;
}
.btn-outline-twitch:hover:not(:disabled) {
    color: #fff;
    background-color: #9146ff;
    border-color: #9146ff;
}
.btn-outline-twitch:focus, .btn-outline-twitch.focus {
    box-shadow: 0 0 0 0.25rem rgba(145, 70, 255, 0.5);
}
.btn-outline-twitch:active, .btn-outline-twitch.active {
    color: #fff;
    background-color: #9146ff;
    border-color: #9146ff;
}
.btn-outline-twitch:disabled, .btn-outline-twitch.disabled {
    color: #9146ff;
    background-color: transparent;
    opacity: 0.65;
}