.theme-toggle {
    position: relative;
    width: 60px;
    height: 30px;
    background: var(--bg-hover);
    border-radius: 15px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    padding: 2px;
}

.theme-toggle:hover {
    border-color: var(--primary-red);
}

.theme-toggle-slider {
    position: absolute;
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    border-radius: 50%;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    box-shadow: 0 2px 8px rgba(220, 20, 60, 0.3);
}

body[data-theme="light"] .theme-toggle-slider {
    left: 4px;
}

body[data-theme="dark"] .theme-toggle-slider {
    left: 32px;
}

.theme-toggle-icon {
    position: absolute;
    font-size: 14px;
    transition: var(--transition);
}

.theme-toggle-icon.sun {
    left: 8px;
    color: var(--text-secondary);
}

.theme-toggle-icon.moon {
    right: 8px;
    color: var(--text-secondary);
}

body[data-theme="light"] .theme-toggle-icon.sun {
    color: white;
}

body[data-theme="dark"] .theme-toggle-icon.moon {
    color: white;
}

.theme-toggle-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-primary);
    font-size: 14px;
}

.theme-toggle-btn:hover {
    background: var(--bg-hover);
    border-color: var(--primary-red);
}

body[data-theme="light"] .auth-logo-img {
    filter: drop-shadow(0 4px 12px rgba(220, 20, 60, 0.2));
}

@media (max-width: 768px) {
    .theme-toggle-btn span {
        display: none;
    }
    
    .theme-toggle-btn {
        padding: 8px;
    }
}

