/* Twitch Authentication Styles */

.login-divider {
    margin: 20px 0;
    text-align: center;
    position: relative;
}

.login-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-color, #333);
}

.login-divider span {
    background: var(--bg-color, #1a1a1a);
    padding: 0 15px;
    color: var(--text-secondary, #888);
    font-size: 14px;
}

.twitch-login-btn {
    width: 100%;
    padding: 12px 16px;
    background: #9146ff;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    margin-bottom: 10px;
}

.twitch-login-btn:hover {
    background: #7c3aed;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(145, 70, 255, 0.3);
}

.twitch-login-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(145, 70, 255, 0.3);
}

.twitch-login-btn i {
    font-size: 18px;
}

/* Notification styles for Twitch auth */
.twitch-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 16px 20px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    z-index: 10000;
    max-width: 400px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    animation: slideInRight 0.3s ease;
}

.twitch-notification.success {
    background: #00c851;
}

.twitch-notification.error {
    background: #ff4444;
}

.twitch-notification.info {
    background: #33b5e5;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Dark theme adjustments */
[data-theme="dark"] .login-divider span {
    background: #1a1a1a;
    color: #888;
}

[data-theme="dark"] .login-divider::before {
    background: #333;
}

/* Light theme adjustments */
[data-theme="light"] .login-divider span {
    background: #ffffff;
    color: #666;
}

[data-theme="light"] .login-divider::before {
    background: #ddd;
}

/* Mobile responsiveness */
@media (max-width: 480px) {
    .twitch-notification {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .twitch-login-btn {
        font-size: 14px;
        padding: 10px 14px;
    }
}